X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Ft61.c;h=6a03e2ecc504926e7b1ebc21a0298ca1ac15a9e2;hb=6c1d48aa8d066ff85809b8a544952ad2d1dc3400;hp=e6cca3382da72a29c9a3a2eea0201c173f4ecbfc;hpb=3c598e89fb34a892d369a138daa8c3314294493c;p=openldap diff --git a/libraries/libldap/t61.c b/libraries/libldap/t61.c index e6cca3382d..6a03e2ecc5 100644 --- a/libraries/libldap/t61.c +++ b/libraries/libldap/t61.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2002-2004 The OpenLDAP Foundation. + * Copyright 2002-2010 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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;