debug messages incorrectly said "add" instead of "remove".

This commit is contained in:
Kurt Zeilenga 1998-11-18 20:27:21 +00:00
parent e622bc85f8
commit bbdac6ebca

View file

@ -77,7 +77,7 @@ id2children_remove(
if ( (db = ldbm_cache_open( be, "id2children", LDBM_SUFFIX, if ( (db = ldbm_cache_open( be, "id2children", LDBM_SUFFIX,
LDBM_WRCREAT )) == NULL ) { LDBM_WRCREAT )) == NULL ) {
Debug( LDAP_DEBUG_ANY, Debug( LDAP_DEBUG_ANY,
"<= id2children_add -1 could not open \"id2children%s\"\n", "<= id2children_remove -1 could not open \"id2children%s\"\n",
LDBM_SUFFIX, 0, 0 ); LDBM_SUFFIX, 0, 0 );
return( -1 ); return( -1 );
} }
@ -88,7 +88,7 @@ id2children_remove(
key.dsize = strlen( buf ) + 1; key.dsize = strlen( buf ) + 1;
if ( idl_delete_key( be, db, key, e->e_id ) != 0 ) { if ( idl_delete_key( be, db, key, e->e_id ) != 0 ) {
Debug( LDAP_DEBUG_TRACE, "<= id2children_add -1 (idl_insert)\n", Debug( LDAP_DEBUG_TRACE, "<= id2children_remove -1 (idl_insert)\n",
0, 0, 0 ); 0, 0, 0 );
ldbm_cache_close( be, db ); ldbm_cache_close( be, db );
return( -1 ); return( -1 );
@ -96,7 +96,7 @@ id2children_remove(
ldbm_cache_close( be, db ); ldbm_cache_close( be, db );
Debug( LDAP_DEBUG_TRACE, "<= id2children_add 0\n", 0, 0, 0 ); Debug( LDAP_DEBUG_TRACE, "<= id2children_remove 0\n", 0, 0, 0 );
return( 0 ); return( 0 );
} }