Fix root dse checks

This commit is contained in:
Kurt Zeilenga 2001-07-06 02:14:47 +00:00
parent 9d6852d584
commit 38e8fefe17
4 changed files with 4 additions and 4 deletions

View file

@ -124,7 +124,7 @@ do_compare(
goto cleanup;
}
if( ndn == '\0' ) {
if( *ndn == '\0' ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_DETAIL1,
"do_compare: conn %d compare to root DSE!\n",

View file

@ -86,7 +86,7 @@ do_delete(
goto cleanup;
}
if( ndn == '\0' ) {
if( *ndn == '\0' ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_INFO,
"do_delete: conn %d Attempt to delete root DSE.\n", conn->c_connid ));

View file

@ -189,7 +189,7 @@ do_modify(
goto cleanup;
}
if( ndn == '\0' ) {
if( *ndn == '\0' ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_ERR,
"do_modify: attempt to modify root DSE.\n" ));

View file

@ -212,7 +212,7 @@ do_modrdn(
goto cleanup;
}
if( ndn == '\0' ) {
if( *ndn == '\0' ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_ERR,
"do_modrdn: attempt to modify root DSE.\n" ));