Changeset 68adaf8


Ignore:
Timestamp:
2010-11-21T19:13:54Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ca0ce03
Parents:
694be84
Message:

Extra NULL-check because it *is* possible that prpl->login returns without
even trying to log in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/account.c

    r694be84 r68adaf8  
    354354        a->prpl->login( a );
    355355       
    356         if( !( a->ic->flags & OPT_SLOW_LOGIN ) )
     356        if( a->ic && !( a->ic->flags & OPT_SLOW_LOGIN ) )
    357357                a->ic->keepalive = b_timeout_add( 120000, account_on_timeout, a->ic );
    358358}
Note: See TracChangeset for help on using the changeset viewer.