diff 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
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);