]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/acl.c
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_5
[openldap] / servers / slapd / acl.c
index 92b4c43b03b5bbad33f2b188aef715e54f85774b..2b1a901591d9f50d439add430d43cdc4c86438e0 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * 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
@@ -614,7 +614,7 @@ slap_acl_get(
                }
 
                /* Is this ACL only for a specific value? */
-               if ( a->acl_attrval.bv_len ) {
+               if ( a->acl_attrval.bv_val ) {
                        if ( val == NULL ) {
                                continue;
                        }