diff libpurple/protocols/jabber/jutil.c @ 27462:2eba2794423d

Doh, small typo. Tests pass now. Yay.
author Mark Doliner <mark@kingant.net>
date Sat, 11 Jul 2009 00:05:43 +0000
parents 7e79102cda40
children 167d7c3a4f7b
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jutil.c	Fri Jul 10 23:58:36 2009 +0000
+++ b/libpurple/protocols/jabber/jutil.c	Sat Jul 11 00:05:43 2009 +0000
@@ -73,7 +73,7 @@
 	while(c && *c) {
 		gunichar ch = g_utf8_get_char(c);
 		/* The list of characters allowed in domain names is pretty small */
-		if (!( (ch >= 'a' && *c <= 'z')
+		if (!( (ch >= 'a' && ch <= 'z')
 				|| (ch >= '0' && ch <= '9')
 				|| (ch >= 'A' && ch <= 'Z')
 				|| ch == '.'