From: <fac...@us...> - 2006-10-04 12:31:39
|
Revision: 17427 http://svn.sourceforge.net/gaim/?rev=17427&view=rev Author: faceprint Date: 2006-10-04 05:31:26 -0700 (Wed, 04 Oct 2006) Log Message: ----------- fix this error Modified Paths: -------------- trunk/libgaim/protocols/jabber/si.c Modified: trunk/libgaim/protocols/jabber/si.c =================================================================== --- trunk/libgaim/protocols/jabber/si.c 2006-10-04 05:18:04 UTC (rev 17426) +++ trunk/libgaim/protocols/jabber/si.c 2006-10-04 12:31:26 UTC (rev 17427) @@ -135,7 +135,7 @@ if(!jsx->streamhosts) { JabberIq *iq = jabber_iq_new(jsx->js, JABBER_IQ_ERROR); - xmlnode *error, *condition; + xmlnode *error, *inf; if(jsx->iq_id) jabber_iq_set_id(iq, jsx->iq_id); @@ -144,9 +144,8 @@ error = xmlnode_new_child(iq->node, "error"); xmlnode_set_attrib(error, "code", "404"); xmlnode_set_attrib(error, "type", "cancel"); - condition = xmlnode_new_child(error, "condition"); - xmlnode_set_namespace(condition, "urn:ietf:params:xml:ns:xmpp-stanzas"); - xmlnode_new_child(condition, "item-not-found"); + inf = xmlnode_new_child(error, "item-not-found"); + xmlnode_set_namespace(inf, "urn:ietf:params:xml:ns:xmpp-stanzas"); jabber_iq_send(iq); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |