X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Faclparse.c;h=e1ac80530632bc52f4c86be59fa96cf9a73a20f9;hb=5e028ae83938177473d26ceb6b12d1c0728d9766;hp=1d2f09fd920a702e3ed75651eb08503e9caa8388;hpb=55060f6b1f23c6e4276d8e10ef73eaf1f2a3ab3a;p=openldap diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index 1d2f09fd92..f5c244c82d 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2012 The OpenLDAP Foundation. + * Copyright 1998-2014 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -2830,7 +2830,7 @@ acl_unparse( AccessControl *a, struct berval *bv ) ptr = acl_safe_strcopy( ptr, "\n" ); } - if ( !BER_BVISEMPTY( &a->acl_attrval ) ) { + if ( !BER_BVISNULL( &a->acl_attrval ) ) { to++; ptr = acl_safe_strcopy( ptr, " val." ); if ( a->acl_attrval_style == ACL_STYLE_BASE &&