X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fsets.c;h=d005e5a151a125b0c58d456feb46456f5c210c58;hb=1705fa7e553201d5415513a85925268d21575c99;hp=4d999be1ad804ac951b1199cddc4f61ff6df3f76;hpb=968a2872ddfb4df80f1b03143e43706c3467e5f6;p=openldap diff --git a/servers/slapd/sets.c b/servers/slapd/sets.c index 4d999be1ad..d005e5a151 100644 --- a/servers/slapd/sets.c +++ b/servers/slapd/sets.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2000-2013 The OpenLDAP Foundation. + * Copyright 2000-2015 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 {