From a2dd0922916920ad4de09d9e1247ca93790347f4 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 26 Jun 2006 13:00:29 +0000 Subject: [PATCH] Fix rootDN check --- servers/slapd/overlays/accesslog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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] ); -- 2.39.5