changeset 7419:82dfe392a773

[gaim-migrate @ 8021] spaces are in fact allowed in resources i need to quit reading RFCs w/o sleep committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 03 Nov 2003 16:42:32 +0000
parents 5f867640afc8
children 53c86d59f20b
files src/protocols/jabber/jutil.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jutil.c	Mon Nov 03 15:18:56 2003 +0000
+++ b/src/protocols/jabber/jutil.c	Mon Nov 03 16:42:32 2003 +0000
@@ -171,7 +171,7 @@
 	c = str;
 	while(c && *c) {
 		gunichar ch = g_utf8_get_char(c);
-		if(!g_unichar_isgraph(ch))
+		if(!g_unichar_isgraph(ch) && ch != ' ')
 			return FALSE;
 
 		c = g_utf8_next_char(c);