]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/controls.c
ITS#7381 fix chain config for restarts
[openldap] / servers / slapd / controls.c
index e737afb043a8caeedd8ee14ec357b556c9477fb7..a94eafe72f7d9afd7f7b1a5b20c1bb4ba6794dba 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * 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;
        }