]> git.sur5r.net Git - openldap/commitdiff
ITS#5542 fix loop iterator
authorHoward Chu <hyc@openldap.org>
Fri, 30 May 2008 17:29:47 +0000 (17:29 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 30 May 2008 17:29:47 +0000 (17:29 +0000)
libraries/libldap/t61.c

index 3245c42fc56b63339458e641dceca27569381a29..e5c89bf811796cb716bb7d4f5b3c0155d7a0f3c2 100644 (file)
@@ -684,6 +684,8 @@ int ldap_utf8s_to_t61s( struct berval *src, struct berval *dst )
                        *d++ = 0x3f;
                        break;
                }
+               i += j;
+               c += j;
        }
        *d = '\0';
        return LDAP_SUCCESS;