Mercurial > pidgin.yaz
diff src/protocols/msn/msn.c @ 8509:711927294475
[gaim-migrate @ 9245]
Patch from Stu Tomlinson to prevent a disconnect when trying to remove an
invalid user on the buddy list in MSN that has a space in the name. Thanks
again :)
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 27 Mar 2004 00:59:49 +0000 |
parents | 467b01d02f9c |
children | 833dd756dcc3 |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Fri Mar 26 15:51:51 2004 +0000 +++ b/src/protocols/msn/msn.c Sat Mar 27 00:59:49 2004 +0000 @@ -734,6 +734,12 @@ char outparams[MSN_BUF_LEN]; MsnGroup *group; + if (strchr(who, ' ')) + { + /* This is a broken blist entry. */ + return; + } + group = msn_groups_find_with_name(session->groups, group_name); if (group == NULL)