From: Howard Chu Date: Mon, 26 Jun 2006 13:00:29 +0000 (+0000) Subject: Fix rootDN check X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~77 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2dd0922916920ad4de09d9e1247ca93790347f4;p=openldap Fix rootDN check --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 0a37433f16..15c512a022 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -726,8 +726,7 @@ log_cf_gen(ConfigArgs *c) Debug( LDAP_DEBUG_ANY, "%s: %s \"%s\"\n", c->log, c->msg, c->value_dn.bv_val ); rc = 1; - } - if ( BER_BVISEMPTY( &li->li_db->be_rootdn )) { + } else if ( BER_BVISEMPTY( &li->li_db->be_rootdn )) { snprintf( c->msg, sizeof( c->msg ), "<%s> no rootDN was configured for suffix", c->argv[0] );