fix counting twice the substitution length (caused berval to have wrong length, rejected by subsequent dnNormalize)

This commit is contained in:
Pierangelo Masarati 2002-03-30 15:44:30 +00:00
parent 704ed641eb
commit 1658aa0893

View File

@ -1791,7 +1791,6 @@ string_expand(
l = matches[n].rm_eo; l = matches[n].rm_eo;
for ( ; size < bv->bv_len && i < l; size++, i++ ) { for ( ; size < bv->bv_len && i < l; size++, i++ ) {
*dp++ = match[i]; *dp++ = match[i];
size++;
} }
*dp = '\0'; *dp = '\0';
} }