X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fcontrols.c;h=a94eafe72f7d9afd7f7b1a5b20c1bb4ba6794dba;hb=74c52fb1364ca5685c9e18e2e53ec45586780f3e;hp=e737afb043a8caeedd8ee14ec357b556c9477fb7;hpb=d806b970b1b91b4db5998aec7dd5ab610fbe590b;p=openldap diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index e737afb043..a94eafe72f 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2012 The OpenLDAP Foundation. + * Copyright 1998-2013 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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; }