X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Ft61.c;h=c4b10a8e8e261ed80ebfb609231d1b222e4d2bee;hb=3a2e98e91c3a8f93e5b37cb7e5a76708194cff77;hp=bd0bd3ab62ea50aa82a95b63bb7115f3afb57b0c;hpb=062f54d1ccdb012a08898eb1007869971674012a;p=openldap
diff --git a/libraries/libldap/t61.c b/libraries/libldap/t61.c
index bd0bd3ab62..c4b10a8e8e 100644
--- a/libraries/libldap/t61.c
+++ b/libraries/libldap/t61.c
@@ -1,7 +1,20 @@
/* $OpenLDAP$ */
-/*
- * Copyright 2002-2003 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software .
+ *
+ * Copyright 2002-2009 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * .
+ */
+/* ACKNOWLEDGEMENTS:
+ * This work was initially developed by Howard Chu for inclusion in
+ * OpenLDAP Software.
*/
/*
@@ -671,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;