# HG changeset patch # User Eric Warmenhoven # Date 983441118 0 # Node ID 31c0850f9340c9b65e7221bc17457c698944b483 # Parent ba83e9e2fd9b801075159af401c5dd4b5050650e [gaim-migrate @ 1532] this should fix a segfault or two committer: Tailor Script diff -r ba83e9e2fd9b -r 31c0850f9340 plugins/jabber/jabber.c --- a/plugins/jabber/jabber.c Thu Mar 01 02:29:54 2001 +0000 +++ b/plugins/jabber/jabber.c Thu Mar 01 10:05:18 2001 +0000 @@ -700,13 +700,15 @@ struct buddy *b; char *groupname, *buddyname; - groupname = xmlnode_get_data(xmlnode_get_firstchild(g)); if (who->user == NULL) { /* FIXME: transport */ g = xmlnode_get_nextsibling(g); continue; } buddyname = g_strdup_printf("%s@%s", who->user, who->server); + groupname = xmlnode_get_data(xmlnode_get_firstchild(g)); + if (groupname == NULL) + groupname = "Buddies"; if (!(b = find_buddy(GJ_GC(j), buddyname))) { debug_printf("adding buddy: %s\n", buddyname); b =