ITS#7298 fix PermissiveModify control parsing

This commit is contained in:
Howard Chu 2012-06-15 04:46:11 -07:00
parent ccffd16085
commit 025b3b929e

View File

@ -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;
}