Mercurial > pidgin.yaz
comparison src/protocols/msn/notification.c @ 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 | 7134be4a319f |
children | 03bf7c905782 |
comparison
equal
deleted
inserted
replaced
5932:bb7723f0b4b9 | 5933:44eb6d75a5c6 |
---|---|
433 group_id = params[5]; | 433 group_id = params[5]; |
434 | 434 |
435 if (!g_ascii_strcasecmp(list, "FL")) { | 435 if (!g_ascii_strcasecmp(list, "FL")) { |
436 user = msn_user_new(session, passport, NULL); | 436 user = msn_user_new(session, passport, NULL); |
437 | 437 |
438 msn_user_set_group_id(user, atoi(group_id)); | 438 if (group_id != NULL) |
439 msn_user_set_group_id(user, atoi(group_id)); | |
439 | 440 |
440 add_buddy(servconn, user); | 441 add_buddy(servconn, user); |
441 | 442 |
442 return TRUE; | 443 return TRUE; |
443 } | 444 } |