From: Nathan W. <fac...@us...> - 2005-06-01 12:55:09
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15394/src/protocols/jabber Modified Files: Tag: oldstatus buddy.c Log Message: I can't believe a server would create such a busted response Index: buddy.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/buddy.c,v retrieving revision 1.29.2.3 retrieving revision 1.29.2.4 diff -u -d -p -r1.29.2.3 -r1.29.2.4 --- buddy.c 19 Mar 2005 18:15:25 -0000 1.29.2.3 +++ buddy.c 1 Jun 2005 12:54:56 -0000 1.29.2.4 @@ -542,12 +542,15 @@ static void jabber_vcard_parse(JabberStr if(!from) return; + jb = jabber_buddy_find(js, from, TRUE); + if(!jb) + return; + resource_name = jabber_get_resource(from); bare_jid = jabber_get_bare_jid(from); b = gaim_find_buddy(js->gc->account, bare_jid); - jb = jabber_buddy_find(js, from, TRUE); info_text = g_string_new(""); g_string_append_printf(info_text, "<b>%s:</b> %s<br/>", _("Jabber ID"), |