X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Faclparse.c;h=2e8bc4a9cab852a12ea86b62e3753e8dd45b0efb;hb=74c52fb1364ca5685c9e18e2e53ec45586780f3e;hp=1d2f09fd920a702e3ed75651eb08503e9caa8388;hpb=d377f353b7053bbe17afa8d97e2eacf810ec3086;p=openldap diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index 1d2f09fd92..2e8bc4a9ca 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-2013 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 &&