Mercurial > pidgin
changeset 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 | 012bb2eed54b |
children | 098cfd8152bc |
files | src/protocols/jabber/buddy.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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) {