Mercurial > pidgin.yaz
changeset 29950:54975f0cbc37
jabber: Oops. Make jabber_saslprep have a hope of not locking the program if built without IDN support.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 07 Mar 2010 18:47:09 +0000 |
parents | 09f8ddb2f628 |
children | 80724c326423 |
files | libpurple/protocols/jabber/jutil.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jutil.c Sun Mar 07 03:04:08 2010 +0000 +++ b/libpurple/protocols/jabber/jutil.c Sun Mar 07 18:47:09 2010 +0000 @@ -302,7 +302,7 @@ 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;