Ignore:
Timestamp:
2007-04-15T22:39:35Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
84b045d
Parents:
cd4723c
Message:

Cleaned up struct im_connection. No more username/password stuff since
it's in acc too. wants_to_die is now an argument to imc_logout().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/sasl.c

    rcd4723c rc2fb3809  
    4545        if( !s || strcmp( s, XMLNS_SASL ) != 0 )
    4646        {
    47                 imc_logout( ic );
     47                imc_log( ic, "Stream error while authenticating" );
     48                imc_logout( ic, FALSE );
    4849                return XT_ABORT;
    4950        }
     
    6364        {
    6465                imc_error( ic, "No known SASL authentication schemes supported" );
    65                 imc_logout( ic );
     66                imc_logout( ic, FALSE );
    6667                return XT_ABORT;
    6768        }
     
    280281error:
    281282        imc_error( ic, "Incorrect SASL challenge received" );
    282         imc_logout( ic );
     283        imc_logout( ic, FALSE );
    283284
    284285silent_error:
     
    303304        if( !s || strcmp( s, XMLNS_SASL ) != 0 )
    304305        {
    305                 imc_logout( ic );
     306                imc_log( ic, "Stream error while authenticating" );
     307                imc_logout( ic, FALSE );
    306308                return XT_ABORT;
    307309        }
     
    315317        {
    316318                imc_error( ic, "Authentication failure" );
    317                 imc_logout( ic );
     319                imc_logout( ic, FALSE );
    318320                return XT_ABORT;
    319321        }
Note: See TracChangeset for help on using the changeset viewer.