Changeset 47d3ac4 for protocols/jabber/sasl.c
- Timestamp:
- 2006-10-31T08:25:41Z (18 years ago)
- Branches:
- master
- Children:
- 0d3f30f
- Parents:
- abbd8ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/sasl.c
rabbd8ed r47d3ac4 24 24 #include "jabber.h" 25 25 #include "base64.h" 26 27 #define SASL_NS "urn:ietf:params:xml:ns:xmpp-sasl"28 26 29 27 xt_status sasl_pkt_mechanisms( struct xt_node *node, gpointer data ) … … 45 43 46 44 s = xt_find_attr( node, "xmlns" ); 47 if( !s || strcmp( s, SASL_NS) != 0 )45 if( !s || strcmp( s, XMLNS_SASL ) != 0 ) 48 46 { 49 47 signoff( gc ); … … 70 68 71 69 reply = xt_new_node( "auth", NULL, NULL ); 72 xt_add_attr( reply, "xmlns", SASL_NS);70 xt_add_attr( reply, "xmlns", XMLNS_SASL ); 73 71 74 72 if( sup_digest ) … … 272 270 273 271 reply = xt_new_node( "response", s, NULL ); 274 xt_add_attr( reply, "xmlns", SASL_NS);272 xt_add_attr( reply, "xmlns", XMLNS_SASL ); 275 273 276 274 if( !jabber_write_packet( gc, reply ) ) … … 303 301 304 302 s = xt_find_attr( node, "xmlns" ); 305 if( !s || strcmp( s, SASL_NS) != 0 )303 if( !s || strcmp( s, XMLNS_SASL ) != 0 ) 306 304 { 307 305 signoff( gc );
Note: See TracChangeset
for help on using the changeset viewer.