diff src/protocols/msn/msn.c @ 4039:630826d97d54

[gaim-migrate @ 4247] some people enter multi line msn friendly names somehow. this patch from Felipe Contreras(shx) fixes that so that gaim doesn't have "Unhandled message" errors. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 03 Dec 2002 06:10:42 +0000
parents f53370197bb9
children 133cf6424c53
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Tue Dec 03 04:35:07 2002 +0000
+++ b/src/protocols/msn/msn.c	Tue Dec 03 06:10:42 2002 +0000
@@ -161,10 +161,10 @@
 static void msn_login_callback(gpointer, gint, GaimInputCondition);
 static void msn_login_xfr_connect(gpointer, gint, GaimInputCondition);
 
-#define GET_NEXT(tmp)	while (*(tmp) && !isspace(*(tmp))) \
+#define GET_NEXT(tmp)	while (*(tmp) && *(tmp) != ' ') \
 				(tmp)++; \
 			*(tmp)++ = 0; \
-			while (*(tmp) && isspace(*(tmp))) \
+			while (*(tmp) && *(tmp) == ' ') \
 				(tmp)++;