From: Howard Chu Date: Wed, 17 Sep 2014 23:33:33 +0000 (+0100) Subject: ITS#7941 fix for repeated tags X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=640f1f636bfeaa0a28ac38511c8fa607ea4db368;p=openldap ITS#7941 fix for repeated tags Make sure ntags isn't incremented if we're skippnig the tag --- diff --git a/servers/slapd/ad.c b/servers/slapd/ad.c index 78a8b15629..246b900fac 100644 --- a/servers/slapd/ad.c +++ b/servers/slapd/ad.c @@ -271,6 +271,7 @@ int slap_bv2ad( if( rc == 0 && (unsigned)optlen == tags[i].bv_len ) { /* duplicate (ignore) */ + ntags--; goto done; } else if ( rc > 0 ||