Revert "SQ(?) nwrap: don't fail re-adding the same entry"
authorMichael Adam <obnox@samba.org>
Tue, 24 Nov 2015 18:15:19 +0000 (19:15 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 24 Nov 2015 18:15:19 +0000 (19:15 +0100)
This reverts commit 75efbb2c56e62fb9ce0e2721101a75b073065c61.

src/nss_wrapper.c

index be845bccc6c9546ad91e0a4126db58a28f25fcdb..e5927ce12d9ca1e465a433f7243d4ac1409e8ff0 100644 (file)
@@ -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;
                }
        }