Mercurial > pidgin
diff src/protocols/jabber/buddy.c @ 11388:ce2a2e793835
[gaim-migrate @ 13616]
fix a jabber crash
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 31 Aug 2005 18:24:14 +0000 |
parents | e4868370c433 |
children | fca94aa83486 |
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c Wed Aug 31 18:21:42 2005 +0000 +++ b/src/protocols/jabber/buddy.c Wed Aug 31 18:24:14 2005 +0000 @@ -369,7 +369,7 @@ /* * 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) {