diff libpurple/protocols/jabber/bosh.c @ 28664:931d6906291b

jabber: Here's a good reason for the namespace defines. Fix a typo 'urn:xmpp:bosh'.
author Paul Aurich <paul@darkrain42.org>
date Sat, 28 Nov 2009 04:10:37 +0000
parents 9206aabf0251
children f521dd7c75b5
line wrap: on
line diff
--- a/libpurple/protocols/jabber/bosh.c	Sat Nov 28 04:05:17 2009 +0000
+++ b/libpurple/protocols/jabber/bosh.c	Sat Nov 28 04:10:37 2009 +0000
@@ -369,8 +369,8 @@
 	                "sid='%s' "
 	                "to='%s' "
 	                "xml:lang='en' "
-	                "xmlns='http://jabber.org/protocol/httpbind' "
-	                "xmlns:xmpp='urn:xmpp:xbosh'",
+	                "xmlns='" NS_BOSH "' "
+	                "xmlns:xmpp='" NS_XMPP_BOSH "'",
 	                ++conn->rid,
 	                conn->sid,
 	                conn->js->user->domain);
@@ -567,13 +567,13 @@
 	                "xml:lang='en' "
 	                "xmpp:version='1.0' "
 	                "ver='1.6' "
-	                "xmlns:xmpp='urn:xmpp:bosh' "
+	                "xmlns:xmpp='" NS_XMPP_BOSH "' "
 	                "rid='%" G_GUINT64_FORMAT "' "
 /* TODO: This should be adjusted/adjustable automatically according to
  * realtime network behavior */
 	                "wait='60' "
 	                "hold='1' "
-	                "xmlns='http://jabber.org/protocol/httpbind'/>",
+	                "xmlns='" NS_BOSH "'/>",
 	                conn->js->user->domain,
 	                ++conn->rid);