Changeset 84b045d for protocols/jabber/sasl.c
- Timestamp:
- 2007-04-16T01:03:08Z (17 years ago)
- Branches:
- master
- Children:
- 6bbb939
- Parents:
- c2fb3809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/sasl.c
rc2fb3809 r84b045d 38 38 IQ authentication. Strange things happen when you try 39 39 to do both... */ 40 imc _log( ic, "XMPP 1.0 non-compliant server seems to support SASL, please report this as a BitlBee bug!" );40 imcb_log( ic, "XMPP 1.0 non-compliant server seems to support SASL, please report this as a BitlBee bug!" ); 41 41 return XT_HANDLED; 42 42 } … … 45 45 if( !s || strcmp( s, XMLNS_SASL ) != 0 ) 46 46 { 47 imc _log( ic, "Stream error while authenticating" );47 imcb_log( ic, "Stream error while authenticating" ); 48 48 imc_logout( ic, FALSE ); 49 49 return XT_ABORT; … … 63 63 if( !sup_plain && !sup_digest ) 64 64 { 65 imc _error( ic, "No known SASL authentication schemes supported" );65 imcb_error( ic, "No known SASL authentication schemes supported" ); 66 66 imc_logout( ic, FALSE ); 67 67 return XT_ABORT; … … 280 280 281 281 error: 282 imc _error( ic, "Incorrect SASL challenge received" );282 imcb_error( ic, "Incorrect SASL challenge received" ); 283 283 imc_logout( ic, FALSE ); 284 284 … … 304 304 if( !s || strcmp( s, XMLNS_SASL ) != 0 ) 305 305 { 306 imc _log( ic, "Stream error while authenticating" );306 imcb_log( ic, "Stream error while authenticating" ); 307 307 imc_logout( ic, FALSE ); 308 308 return XT_ABORT; … … 311 311 if( strcmp( node->name, "success" ) == 0 ) 312 312 { 313 imc _log( ic, "Authentication finished" );313 imcb_log( ic, "Authentication finished" ); 314 314 jd->flags |= JFLAG_AUTHENTICATED | JFLAG_STREAM_RESTART; 315 315 } 316 316 else if( strcmp( node->name, "failure" ) == 0 ) 317 317 { 318 imc _error( ic, "Authentication failure" );318 imcb_error( ic, "Authentication failure" ); 319 319 imc_logout( ic, FALSE ); 320 320 return XT_ABORT;
Note: See TracChangeset
for help on using the changeset viewer.