From 16b3111ac746bde88dc04e6511707a111c6f725c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 3 Feb 1999 03:50:11 +0000 Subject: [PATCH] Got that logic backwards... --- servers/slapd/back-ldbm/id2children.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", -- 2.39.5