ITS#7941 fix for repeated tags

Make sure ntags isn't incremented if we're skippnig the tag
This commit is contained in:
Howard Chu 2014-09-18 00:33:33 +01:00
parent e9f5e59ba2
commit af8f1e0741

View File

@ -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 ||