Mercurial > pidgin.yaz
comparison src/protocols/msn/notification.c @ 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 | ad5c8f01882b |
children | 2c32ee9d4fe4 |
comparison
equal
deleted
inserted
replaced
8016:7bae464195c4 | 8017:8948e4313575 |
---|---|
1209 user = msn_user_new(session, passport, friend); | 1209 user = msn_user_new(session, passport, friend); |
1210 | 1210 |
1211 /* Ensure we have a friendly name set. */ | 1211 /* Ensure we have a friendly name set. */ |
1212 msn_user_set_name(user, friend); | 1212 msn_user_set_name(user, friend); |
1213 | 1213 |
1214 tokens = g_strsplit(group_nums, ",", -1); | 1214 tokens = (group_nums ? g_strsplit(group_nums, ",", -1) : ""); |
1215 | 1215 |
1216 gaim_debug_misc("msn", "Fetching group IDs from '%s'\n", | 1216 gaim_debug_misc("msn", "Fetching group IDs from '%s'\n", |
1217 group_nums); | 1217 group_nums); |
1218 for (c = tokens; *c != NULL; c++) | 1218 for (c = tokens; *c != NULL; c++) |
1219 { | 1219 { |