src/protocols/jabber/oob.c

changeset 13808
411ee56da344
parent 13201
8c224ef70efa
--- a/src/protocols/jabber/oob.c	Wed Jun 07 15:58:27 2006 +0000
+++ b/src/protocols/jabber/oob.c	Thu Jun 08 01:03:51 2006 +0000
@@ -168,11 +168,11 @@
 	if(!strcmp(code, "406")) {
 		z = xmlnode_new_child(y, "not-acceptable");
 		xmlnode_set_attrib(y, "type", "modify");
-		xmlnode_set_attrib(z, "xmlns", "urn:ietf:params:xml:ns:xmpp-stanzas");
+		xmlnode_set_namespace(z, "urn:ietf:params:xml:ns:xmpp-stanzas");
 	} else if(!strcmp(code, "404")) {
 		z = xmlnode_new_child(y, "not-found");
 		xmlnode_set_attrib(y, "type", "cancel");
-		xmlnode_set_attrib(z, "xmlns", "urn:ietf:params:xml:ns:xmpp-stanzas");
+		xmlnode_set_namespace(z, "urn:ietf:params:xml:ns:xmpp-stanzas");
 	}
 	jabber_iq_send(iq);
 

mercurial