Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 5762:331295fb349e
[gaim-migrate @ 6187]
Fixed a bug in MSN where a completely empty list (RL list) would crash
gaim.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 05 Jun 2003 20:17:40 +0000 |
parents | 4fa26acb4cd3 |
children | 9c367309b33c |
comparison
equal
deleted
inserted
replaced
5761:1d3b695fc3f3 | 5762:331295fb349e |
---|---|
648 num_users = atoi(params[4]); | 648 num_users = atoi(params[4]); |
649 | 649 |
650 if (g_ascii_strcasecmp(type, "RL") && user_num == 0 && num_users == 0) | 650 if (g_ascii_strcasecmp(type, "RL") && user_num == 0 && num_users == 0) |
651 return TRUE; /* There are no users on this list. */ | 651 return TRUE; /* There are no users on this list. */ |
652 | 652 |
653 passport = params[5]; | 653 if (num_users > 0) { |
654 friend = msn_url_decode(params[6]); | 654 passport = params[5]; |
655 friend = msn_url_decode(params[6]); | |
656 } | |
655 | 657 |
656 if (session->syncing_lists && session->lists_synced) | 658 if (session->syncing_lists && session->lists_synced) |
657 return TRUE; | 659 return TRUE; |
658 | 660 |
659 if (!g_ascii_strcasecmp(type, "FL") && user_num != 0) { | 661 if (!g_ascii_strcasecmp(type, "FL") && user_num != 0) { |