X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Ft61.c;h=ae0843b97f8e6509273b7ae094261fad41895570;hb=d9a60db75ea1dbbc06d90d15e6f6969d8c075ee7;hp=e106fe412c4bf6e962cec3d71a64b9ed5f5bb793;hpb=159de0f1359459371c590ac770cc30edbade58d5;p=openldap
diff --git a/libraries/libldap/t61.c b/libraries/libldap/t61.c
index e106fe412c..ae0843b97f 100644
--- a/libraries/libldap/t61.c
+++ b/libraries/libldap/t61.c
@@ -1,7 +1,7 @@
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software .
*
- * Copyright 1998-2003 The OpenLDAP Foundation.
+ * Copyright 2002-2011 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -12,6 +12,10 @@
* top-level directory of the distribution or, alternatively, at
* .
*/
+/* ACKNOWLEDGEMENTS:
+ * This work was initially developed by Howard Chu for inclusion in
+ * OpenLDAP Software.
+ */
/*
* Basic T.61 <-> UTF-8 conversion
@@ -680,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;