# HG changeset patch # User Mark Doliner # Date 1130280032 0 # Node ID 9e14f18503693870b9f7071c0b946db812a5fbad # Parent 6d9c0ed27146767945ddd38c7e92c64b6fde9090 [gaim-migrate @ 14116] CruiseControl was all like, "boy, you best be fixin yo shit" committer: Tailor Script diff -r 6d9c0ed27146 -r 9e14f1850369 src/protocols/jabber/iq.c --- a/src/protocols/jabber/iq.c Tue Oct 25 22:31:24 2005 +0000 +++ b/src/protocols/jabber/iq.c Tue Oct 25 22:40:32 2005 +0000 @@ -327,7 +327,7 @@ xmlnode_free(iq->node); iq->node = xmlnode_copy(packet); xmlnode_set_attrib(iq->node, "to", from); - xmlnode_remove_attrib(node, "from"); + xmlnode_remove_attrib(iq->node, "from"); xmlnode_set_attrib(iq->node, "type", "error"); error = xmlnode_new_child(iq->node, "error"); xmlnode_set_attrib(error, "type", "cancel");