Mercurial > pidgin.yaz
changeset 5933:44eb6d75a5c6
[gaim-migrate @ 6373]
Fixed another add buddy crash.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 21 Jun 2003 04:10:03 +0000 |
parents | bb7723f0b4b9 |
children | 91ee71a394be |
files | src/protocols/msn/notification.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Sat Jun 21 01:03:23 2003 +0000 +++ b/src/protocols/msn/notification.c Sat Jun 21 04:10:03 2003 +0000 @@ -435,7 +435,8 @@ if (!g_ascii_strcasecmp(list, "FL")) { user = msn_user_new(session, passport, NULL); - msn_user_set_group_id(user, atoi(group_id)); + if (group_id != NULL) + msn_user_set_group_id(user, atoi(group_id)); add_buddy(servconn, user);