Ignore:
Timestamp:
2007-04-15T22:39:35Z (17 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/iq.c

    rcd4723c rc2fb3809  
    4040        {
    4141                imc_error( ic, "Received IQ packet without type." );
    42                 imc_logout( ic );
     42                imc_logout( ic, TRUE );
    4343                return XT_ABORT;
    4444        }
     
    220220        {
    221221                imc_log( ic, "WARNING: Received incomplete IQ packet while authenticating" );
    222                 imc_logout( ic );
     222                imc_logout( ic, FALSE );
    223223                return XT_HANDLED;
    224224        }
     
    259259               
    260260                imc_error( ic, "Can't find suitable authentication method" );
    261                 imc_logout( ic );
     261                imc_logout( ic, FALSE );
    262262                return XT_ABORT;
    263263        }
     
    278278        {
    279279                imc_log( ic, "WARNING: Received incomplete IQ packet while authenticating" );
    280                 imc_logout( ic );
     280                imc_logout( ic, FALSE );
    281281                return XT_HANDLED;
    282282        }
     
    285285        {
    286286                imc_error( ic, "Authentication failure" );
    287                 imc_logout( ic );
     287                imc_logout( ic, FALSE );
    288288                return XT_ABORT;
    289289        }
Note: See TracChangeset for help on using the changeset viewer.