]> git.sur5r.net Git - openldap/commitdiff
Got that logic backwards...
authorKurt Zeilenga <kurt@openldap.org>
Wed, 3 Feb 1999 03:50:11 +0000 (03:50 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 3 Feb 1999 03:50:11 +0000 (03:50 +0000)
servers/slapd/back-ldbm/id2children.c

index 978fd9a4b7c9450b7b83d7826767d3aa5e41abce..69a5d7c58978bda4b3a2f67763c40546ac12a2e7 100644 (file)
@@ -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",