Mercurial > pidgin
changeset 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 | 1d3b695fc3f3 |
children | e7060fb06338 |
files | src/protocols/msn/notification.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Thu Jun 05 17:44:06 2003 +0000 +++ b/src/protocols/msn/notification.c Thu Jun 05 20:17:40 2003 +0000 @@ -650,8 +650,10 @@ if (g_ascii_strcasecmp(type, "RL") && user_num == 0 && num_users == 0) return TRUE; /* There are no users on this list. */ - passport = params[5]; - friend = msn_url_decode(params[6]); + if (num_users > 0) { + passport = params[5]; + friend = msn_url_decode(params[6]); + } if (session->syncing_lists && session->lists_synced) return TRUE;