]> git.sur5r.net Git - openldap/commitdiff
fix handling of multiple attrs in URI (ITS#5516)
authorPierangelo Masarati <ando@openldap.org>
Sat, 17 May 2008 11:55:50 +0000 (11:55 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 17 May 2008 11:55:50 +0000 (11:55 +0000)
servers/slapd/acl.c

index d8b42651771f63e6ef8faa916494220910f8a72e..2d959190cce6acc3c859a4dc8e2948b4e8155087 100644 (file)
@@ -2049,11 +2049,11 @@ acl_set_cb_gather( Operation *op, SlapReply *rs )
                                        bvalsp = a->a_nvals;
                                }
                        }
-               }
 
-               if ( bvalsp ) {
-                       p->bvals = slap_set_join( p->cookie, p->bvals,
-                                       ( '|' | SLAP_SET_RREF ), bvalsp );
+                       if ( bvalsp ) {
+                               p->bvals = slap_set_join( p->cookie, p->bvals,
+                                               ( '|' | SLAP_SET_RREF ), bvalsp );
+                       }
                }
 
        } else {