From: Christian H. <ch...@us...> - 2004-01-05 23:11:08
|
Update of /cvsroot/gaim/gaim/src/protocols/msn In directory sc8-pr-cvs1:/tmp/cvs-serv6645 Modified Files: notification.c Log Message: Patch for blino to fix a segfault when a LST command with an FL bit set has no groups after it. Index: notification.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/msn/notification.c,v retrieving revision 1.83 retrieving revision 1.84 diff -u -d -p -r1.83 -r1.84 --- notification.c 3 Jan 2004 16:22:44 -0000 1.83 +++ notification.c 5 Jan 2004 23:11:05 -0000 1.84 @@ -1211,7 +1211,7 @@ lst_cmd(MsnServConn *servconn, const cha /* 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); |