Mercurial > pidgin
changeset 8017:8948e4313575
[gaim-migrate @ 8697]
Patch for blino to fix a segfault when a LST command with an FL bit set has
no groups after it.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 05 Jan 2004 23:11:05 +0000 |
parents | 7bae464195c4 |
children | a85ac2a94eb7 |
files | src/protocols/msn/notification.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Mon Jan 05 22:37:07 2004 +0000 +++ b/src/protocols/msn/notification.c Mon Jan 05 23:11:05 2004 +0000 @@ -1211,7 +1211,7 @@ /* Ensure we have a friendly name set. */ msn_user_set_name(user, friend); - tokens = g_strsplit(group_nums, ",", -1); + tokens = (group_nums ? g_strsplit(group_nums, ",", -1) : ""); gaim_debug_misc("msn", "Fetching group IDs from '%s'\n", group_nums);