]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/sets.c
Happy New Year
[openldap] / servers / slapd / sets.c
index a91a545d1897492b9187cef41e0408949855915b..a724b26ba7f8f35f067af7b628c8f25e061477e3 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2014 The OpenLDAP Foundation.
+ * Copyright 2000-2018 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -358,7 +358,7 @@ done:;
 
 done2:;
        if ( LogTest( LDAP_DEBUG_ACL ) ) {
-               if ( BER_BVISNULL( set ) ) {
+               if ( !set || BER_BVISNULL( set ) ) {
                        Debug( LDAP_DEBUG_ACL, "  ACL set: empty\n", 0, 0, 0 );
 
                } else {