X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=libraries%2Flibldap%2Ft61.c;h=c4b10a8e8e261ed80ebfb609231d1b222e4d2bee;hb=3a2e98e91c3a8f93e5b37cb7e5a76708194cff77;hp=5deb337bb87f67b3c94a44da24ae14fce89695ba;hpb=acbb5cf689a4336af05c9f259d909d8141055bac;p=openldap diff --git a/libraries/libldap/t61.c b/libraries/libldap/t61.c index 5deb337bb8..c4b10a8e8e 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-2006 The OpenLDAP Foundation. + * Copyright 2002-2009 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;