X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fcontrols.c;h=8a7519d95a77bc9e2695286d425e5b246d3307b8;hb=6549cfc7d09511de67e113d602c4071599127e2c;hp=54447b830b397763c3779b30750dfde84058da4f;hpb=1878d201c1e0a7f42b0d5ee66d7f5a2368027c9c;p=openldap diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 54447b830b..8a7519d95a 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 @@ -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; }