git.samba.org
/
obnox
/
cwrap
/
nss_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b40b8c
)
Revert "SQ(?) nwrap: don't fail re-adding the same entry"
author
Michael Adam
<obnox@samba.org>
Tue, 24 Nov 2015 18:15:19 +0000
(19:15 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 24 Nov 2015 18:15:19 +0000
(19:15 +0100)
This reverts commit
75efbb2c56e62fb9ce0e2721101a75b073065c61
.
src/nss_wrapper.c
patch
|
blob
|
history
diff --git
a/src/nss_wrapper.c
b/src/nss_wrapper.c
index be845bccc6c9546ad91e0a4126db58a28f25fcdb..e5927ce12d9ca1e465a433f7243d4ac1409e8ff0 100644
(file)
--- a/
src/nss_wrapper.c
+++ b/
src/nss_wrapper.c
@@
-2622,8
+2622,7
@@
static bool nwrap_ed_inventarize_add_to_existing(struct nwrap_entdata *const ed,
for (cursor = el; cursor->next != NULL; cursor = cursor->next)
{
if (cursor->ed == ed) {
- /* The entry already exists in this list. */
- return true;
+ return false;
}
}