]> git.sur5r.net Git - openldap/commitdiff
fix counting twice the substitution length (caused berval to have wrong length, rejec...
authorPierangelo Masarati <ando@openldap.org>
Sat, 30 Mar 2002 15:44:30 +0000 (15:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 30 Mar 2002 15:44:30 +0000 (15:44 +0000)
servers/slapd/acl.c

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