Ignore:
Timestamp:
2007-04-16T01:03:08Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6bbb939
Parents:
c2fb3809
Message:

s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h a
little bit, grouping things by category instead of original Gaim 0.58
filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/sasl.c

    rc2fb3809 r84b045d  
    3838                   IQ authentication. Strange things happen when you try
    3939                   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!" );
    4141                return XT_HANDLED;
    4242        }
     
    4545        if( !s || strcmp( s, XMLNS_SASL ) != 0 )
    4646        {
    47                 imc_log( ic, "Stream error while authenticating" );
     47                imcb_log( ic, "Stream error while authenticating" );
    4848                imc_logout( ic, FALSE );
    4949                return XT_ABORT;
     
    6363        if( !sup_plain && !sup_digest )
    6464        {
    65                 imc_error( ic, "No known SASL authentication schemes supported" );
     65                imcb_error( ic, "No known SASL authentication schemes supported" );
    6666                imc_logout( ic, FALSE );
    6767                return XT_ABORT;
     
    280280
    281281error:
    282         imc_error( ic, "Incorrect SASL challenge received" );
     282        imcb_error( ic, "Incorrect SASL challenge received" );
    283283        imc_logout( ic, FALSE );
    284284
     
    304304        if( !s || strcmp( s, XMLNS_SASL ) != 0 )
    305305        {
    306                 imc_log( ic, "Stream error while authenticating" );
     306                imcb_log( ic, "Stream error while authenticating" );
    307307                imc_logout( ic, FALSE );
    308308                return XT_ABORT;
     
    311311        if( strcmp( node->name, "success" ) == 0 )
    312312        {
    313                 imc_log( ic, "Authentication finished" );
     313                imcb_log( ic, "Authentication finished" );
    314314                jd->flags |= JFLAG_AUTHENTICATED | JFLAG_STREAM_RESTART;
    315315        }
    316316        else if( strcmp( node->name, "failure" ) == 0 )
    317317        {
    318                 imc_error( ic, "Authentication failure" );
     318                imcb_error( ic, "Authentication failure" );
    319319                imc_logout( ic, FALSE );
    320320                return XT_ABORT;
Note: See TracChangeset for help on using the changeset viewer.