From: Howard Chu Date: Fri, 15 Jun 2012 11:46:11 +0000 (-0700) Subject: ITS#7298 fix PermissiveModify control parsing X-Git-Tag: OPENLDAP_REL_ENG_2_4_32~82 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2f431ab7132e060ab04a49d05800f4afbc00fd42;p=openldap ITS#7298 fix PermissiveModify control parsing --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 54447b830b..6caa711ace 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -1613,7 +1613,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; }