X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fsets.c;h=080dca141ac1b690e6a8664880d098f409ce30a4;hb=9b5972dc9e14e1f7a7bef755bfd0dc61bcf1ffb3;hp=4d999be1ad804ac951b1199cddc4f61ff6df3f76;hpb=f84fc59378be5887f7f0dcc84dc0cae785c3084e;p=openldap diff --git a/servers/slapd/sets.c b/servers/slapd/sets.c index 4d999be1ad..080dca141a 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-2016 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 {