# HG changeset patch # User Mark Doliner # Date 1047590423 0 # Node ID e4a8c7215fdf163ab53409214e8e6c5a4824b3ac # Parent 169d7db6f5479ec4b04f67e13bb4ccd7dc77d00d [gaim-migrate @ 5069] This is my ugly fix for a crash bug thingy. If you want to make it less ugly, or more correct, feel free. The bug causes gaim to crash when you do not have a blist.xml file, and you have accounts in ~/.gaimrc, but those accounts do not have individual blist files (so delete ~/.gaim/blist.xml and ~/.gaim/*.blist). committer: Tailor Script diff -r 169d7db6f547 -r e4a8c7215fdf src/list.c --- a/src/list.c Thu Mar 13 21:16:28 2003 +0000 +++ b/src/list.c Thu Mar 13 21:20:23 2003 +0000 @@ -1106,6 +1106,7 @@ fprintf(file, "\n"); fprintf(file, "\t\n"); + if (gaimbuddylist) for(group = (struct group*)gaimbuddylist->root; group; group = (struct group*)((GaimBlistNode*)group)->next) { if(!exp_acct || gaim_group_on_account(group, exp_acct)) { char *group_name = g_markup_escape_text(group->name, -1);