aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-31 09:25:41 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-31 09:25:41 +0100
commit47d3ac46306965e9db66096eef8c60c8e7985950 (patch)
tree7e3242bf404befb15e6ffea870d7f38a6647c730 /protocols/jabber/jabber.c
parentabbd8ede1eb5eeb9b82e09357e0b38949bc95b8d (diff)
Added #defines for XML namespaces.
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index 855a6a3b..2ef76444 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -234,7 +234,7 @@ static int jabber_send_im( struct gaim_connection *gc, char *who, char *message,
tag to tell that the user stopped typing (well, that's what
we guess when s/he pressed Enter...). */
act = xt_new_node( "active", NULL, NULL );
- xt_add_attr( act, "xmlns", "http://jabber.org/protocol/chatstates" );
+ xt_add_attr( act, "xmlns", XMLNS_CHATSTATES );
xt_add_child( node, act );
/* Just make sure we do this only once. */
@@ -352,7 +352,7 @@ static int jabber_send_typing( struct gaim_connection *gc, char *who, int typing
type = "composing";
node = xt_new_node( type, NULL, NULL );
- xt_add_attr( node, "xmlns", "http://jabber.org/protocol/chatstates" );
+ xt_add_attr( node, "xmlns", XMLNS_CHATSTATES );
node = jabber_make_packet( "message", "chat", bud->full_jid, node );
st = jabber_write_packet( gc, node );