From: Nathan W. <fac...@us...> - 2005-08-31 18:24:22
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6165/src/protocols/jabber Modified Files: buddy.c Log Message: fix a jabber crash Index: buddy.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/buddy.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -p -r1.48 -r1.49 --- buddy.c 29 Aug 2005 04:53:17 -0000 1.48 +++ buddy.c 31 Aug 2005 18:24:14 -0000 1.49 @@ -369,7 +369,7 @@ void jabber_set_info(GaimConnection *gc, /* * Send only if there's actually any *information* to send */ - vc_node = xmlnode_from_str(info, -1); + vc_node = info ? xmlnode_from_str(info, -1) : NULL; avatar_file = gaim_buddy_icons_get_full_path(gaim_account_get_buddy_icon(gc->account)); if(!vc_node && avatar_file) { |