summaryrefslogtreecommitdiff
path: root/libpurple/protocols/jabber/jutil.c
diff options
context:
space:
mode:
authorMark Doliner <markdoliner@pidgin.im>2009-07-11 00:05:43 +0000
committerMark Doliner <markdoliner@pidgin.im>2009-07-11 00:05:43 +0000
commit7f485c94d6fc48c79ff47271ea28f54a4336d3ec (patch)
tree0e382a72306fef818714cdaf0bbb5bdc57202650 /libpurple/protocols/jabber/jutil.c
parent911f90dc6b3da8722cfae6edc64f8a9782557fe2 (diff)
downloadpidgin-7f485c94d6fc48c79ff47271ea28f54a4336d3ec.tar.gz
Doh, small typo. Tests pass now. Yay.
Diffstat (limited to 'libpurple/protocols/jabber/jutil.c')
-rw-r--r--libpurple/protocols/jabber/jutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/protocols/jabber/jutil.c b/libpurple/protocols/jabber/jutil.c
index 8323cd7002..350e71a52f 100644
--- a/libpurple/protocols/jabber/jutil.c
+++ b/libpurple/protocols/jabber/jutil.c
@@ -73,7 +73,7 @@ gboolean jabber_nameprep_validate(const char *str)
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 == '.'