From: Howard Chu Date: Fri, 15 Jun 2012 11:46:11 +0000 (-0700) Subject: ITS#7298 fix PermissiveModify control parsing X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=025b3b929e2031d16dcfd5675c2536b946884f1e;p=openldap ITS#7298 fix PermissiveModify control parsing --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index e737afb043..9d8a55fb93 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -1624,7 +1624,7 @@ static int parsePermissiveModify ( return LDAP_PROTOCOL_ERROR; } - if ( BER_BVISNULL( &ctrl->ldctl_value )) { + if ( !BER_BVISNULL( &ctrl->ldctl_value )) { rs->sr_text = "permissiveModify control value not absent"; return LDAP_PROTOCOL_ERROR; }