From: Pierangelo Masarati Date: Sat, 17 May 2008 11:55:50 +0000 (+0000) Subject: fix handling of multiple attrs in URI (ITS#5516) X-Git-Tag: LOCKER_IDS~162 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=91d337fb29286e7a2c17935f6d590854d0259458;p=openldap fix handling of multiple attrs in URI (ITS#5516) --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index d8b4265177..2d959190cc 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -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 {