diff libpurple/protocols/jabber/auth_cyrus.c @ 28715:cea22db36ffc

jabber: Use NS_XMPP_SASL
author Paul Aurich <paul@darkrain42.org>
date Fri, 27 Nov 2009 20:41:22 +0000
parents f3c65de7d864
children 8a5252630857
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth_cyrus.c	Fri Nov 27 20:36:31 2009 +0000
+++ b/libpurple/protocols/jabber/auth_cyrus.c	Fri Nov 27 20:41:22 2009 +0000
@@ -302,7 +302,7 @@
 
 	if (js->sasl_state == SASL_CONTINUE || js->sasl_state == SASL_OK) {
 		auth = xmlnode_new("auth");
-		xmlnode_set_namespace(auth, "urn:ietf:params:xml:ns:xmpp-sasl");
+		xmlnode_set_namespace(auth, NS_XMPP_SASL);
 		xmlnode_set_attrib(auth, "mechanism", js->current_mech);
 
 		xmlnode_set_attrib(auth, "xmlns:ga", "http://www.google.com/talk/protocol/auth");
@@ -439,7 +439,7 @@
 		g_free(tmp);
 	} else {
 		response = xmlnode_new("response");
-		xmlnode_set_namespace(response, "urn:ietf:params:xml:ns:xmpp-sasl");
+		xmlnode_set_namespace(response, NS_XMPP_SASL);
 		if (clen > 0) {
 			/* Cyrus SASL 2.1.22 appears to contain code to add the charset
 			 * to the response for DIGEST-MD5 but there is no possibility