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