From: Kurt Zeilenga Date: Wed, 3 Feb 1999 03:50:11 +0000 (+0000) Subject: Got that logic backwards... X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~655 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=16b3111ac746bde88dc04e6511707a111c6f725c;p=openldap Got that logic backwards... --- diff --git a/servers/slapd/back-ldbm/id2children.c b/servers/slapd/back-ldbm/id2children.c index 978fd9a4b7..69a5d7c589 100644 --- a/servers/slapd/back-ldbm/id2children.c +++ b/servers/slapd/back-ldbm/id2children.c @@ -104,7 +104,7 @@ has_children( { struct dbcache *db; Datum key; - int rc = 1; + int rc = 0; ID_BLOCK *idl; char buf[20]; @@ -130,7 +130,7 @@ has_children( if( idl != NULL ) { idl_free( idl ); - rc = 0; + rc = 1; } Debug( LDAP_DEBUG_TRACE, "<= has_children( %lu ): %s\n",