git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f2ef4
)
nss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.
author
Günther Deschner
<gd@samba.org>
Sat, 30 May 2009 22:54:56 +0000
(
00:54
+0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 2 Jun 2009 11:11:42 +0000
(13:11 +0200)
Guenther
lib/nss_wrapper/nss_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/nss_wrapper/nss_wrapper.c
b/lib/nss_wrapper/nss_wrapper.c
index 8bfb4c79a6a3ff93d49f495f1d0fbc9be7971483..7922b89107f4061835b1c9e4052c1dfaf3ee0c5f 100644
(file)
--- a/
lib/nss_wrapper/nss_wrapper.c
+++ b/
lib/nss_wrapper/nss_wrapper.c
@@
-904,6
+904,7
@@
_PUBLIC_ void nwrap_setpwent(void)
{
if (!nwrap_enabled()) {
real_setpwent();
+ return;
}
nwrap_files_setpwent();
@@
-989,6
+990,7
@@
_PUBLIC_ void nwrap_endpwent(void)
{
if (!nwrap_enabled()) {
real_endpwent();
+ return;
}
nwrap_files_endpwent();
@@
-1139,6
+1141,7
@@
_PUBLIC_ void nwrap_setgrent(void)
{
if (!nwrap_enabled()) {
real_setgrent();
+ return;
}
nwrap_files_setgrent();
@@
-1224,6
+1227,7
@@
_PUBLIC_ void nwrap_endgrent(void)
{
if (!nwrap_enabled()) {
real_endgrent();
+ return;
}
nwrap_files_endgrent();