X-Git-Url: https://git.sur5r.net/?p=openldap;a=blobdiff_plain;f=servers%2Fslapd%2Fcontrols.c;h=60b2245734a7c3cf684f7d1d56313232a771e8bd;hp=5599bd7b9d23092d2976390edb9a9297176a302a;hb=f32384ef44d3ffe430b6afdad589f944e264f4dc;hpb=59e9ff6243465640956b58ad1756a3ede53eca7c diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 5599bd7b9d..60b2245734 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -1681,8 +1681,8 @@ static int parseDomainScope ( return LDAP_PROTOCOL_ERROR; } - if ( BER_BVISNULL( &ctrl->ldctl_value )) { - rs->sr_text = "domainScope control value not empty"; + if ( !BER_BVISNULL( &ctrl->ldctl_value )) { + rs->sr_text = "domainScope control value not absent"; return LDAP_PROTOCOL_ERROR; }