Mercurial > pidgin.yaz
changeset 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 | 6e383852ad4e |
children | 89b56ab2b692 |
files | src/protocols/msn/msn.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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)++;