[svn] dirmngr - r254 - trunk/src

svn author marcus cvs at cvs.gnupg.org
Mon Jul 30 23:33:59 CEST 2007


Author: marcus
Date: 2007-07-30 23:33:28 +0200 (Mon, 30 Jul 2007)
New Revision: 254

Modified:
   trunk/src/ChangeLog
   trunk/src/ldap-url.c
Log:
2007-07-30  Marcus Brinkmann  <marcus at g10code.de>

	* ldap-url.c (ldap_str2charray): Fix buglet in ldap_utf8_strchr invocation.


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2007-07-27 16:06:18 UTC (rev 253)
+++ trunk/src/ChangeLog	2007-07-30 21:33:28 UTC (rev 254)
@@ -1,3 +1,7 @@
+2007-07-30  Marcus Brinkmann  <marcus at g10code.de>
+
+	* ldap-url.c (ldap_str2charray): Fix buglet in ldap_utf8_strchr invocation.
+
 2007-07-27  Marcus Brinkmann  <marcus at g10code.de>
 
 	* estream.h, estream.c: Update from recent GnuPG.

Modified: trunk/src/ldap-url.c
===================================================================
--- trunk/src/ldap-url.c	2007-07-27 16:06:18 UTC (rev 253)
+++ trunk/src/ldap-url.c	2007-07-30 21:33:28 UTC (rev 254)
@@ -273,7 +273,7 @@
 
 	i = 1;
 	for ( s = str; *s; s++ ) {
-		if ( ldap_utf8_strchr( brkstr, s ) != NULL ) {
+		if ( ldap_utf8_strchr( brkstr, *s ) != NULL ) {
 			i++;
 		}
 	}




More information about the Gnupg-commits mailing list