src/protocols/jabber/buddy.c

changeset 11388
3c8b093b5cfe
parent 11361
b8c9532c9ffe
child 11509
d8c84cb95fe4
--- 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) {

mercurial