adium.1-4: bdea4b25: *** Plucked rev 25d4fad7d77b9c892b18504c...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sun Apr 18 17:50:17 EDT 2010


-----------------------------------------------------------------
Revision: bdea4b2531b4b64de190243c7fe2e128a29caa19
Ancestor: 6a525a20cfffe39369fb58b72aeaf5194aa468d9
Author: rekkanoryo at pidgin.im
Date: 2010-04-16T23:51:24
Branch: im.pidgin.adium.1-4
URL: http://d.pidgin.im/viewmtn/revision/info/bdea4b2531b4b64de190243c7fe2e128a29caa19

Modified files:
        libpurple/protocols/jabber/jutil.c

ChangeLog: 

*** Plucked rev 25d4fad7d77b9c892b18504c1bdc49e0ecf41a0f (darkrain42 at pidgin.im):
jabber: Oops.  Make jabber_saslprep have a hope of not locking the program if built without IDN support.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jutil.c	d0ecf1856c5cde6e1deb28492fcdbf624805d7f3
+++ libpurple/protocols/jabber/jutil.c	260f3bd4391aaa5c1d121e6a02d939742ff16e18
@@ -302,7 +302,7 @@ char *jabber_saslprep(const char *in)
 	const guchar *c;
 
 	c = (const guchar *)in;
-	while (*c) {
+	for ( ; *c; ++c) {
 		if (*c > 0x7f ||
 				(*c < 0x20 && *c != '\t' && *c != '\n' && *c != '\r'))
 			return NULL;


More information about the Commits mailing list