comparison 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
comparison
equal deleted inserted replaced
8508:8e6e1a2b1327 8509:711927294475
732 { 732 {
733 MsnSession *session = gc->proto_data; 733 MsnSession *session = gc->proto_data;
734 char outparams[MSN_BUF_LEN]; 734 char outparams[MSN_BUF_LEN];
735 MsnGroup *group; 735 MsnGroup *group;
736 736
737 if (strchr(who, ' '))
738 {
739 /* This is a broken blist entry. */
740 return;
741 }
742
737 group = msn_groups_find_with_name(session->groups, group_name); 743 group = msn_groups_find_with_name(session->groups, group_name);
738 744
739 if (group == NULL) 745 if (group == NULL)
740 g_snprintf(outparams, sizeof(outparams), "FL %s", who); 746 g_snprintf(outparams, sizeof(outparams), "FL %s", who);
741 else 747 else