changeset 11825:9e14f1850369

[gaim-migrate @ 14116] CruiseControl was all like, "boy, you best be fixin yo shit" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 25 Oct 2005 22:40:32 +0000
parents 6d9c0ed27146
children e05778d4f12d
files src/protocols/jabber/iq.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");