Ignore:
Timestamp:
2010-09-04T17:13:55Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4e1be76
Parents:
4aa8a04
Message:

Finish re-authentication works. Should now work for OIMs as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    r4aa8a04 r27053b5  
    6464        md->away_state = msn_away_state_list;
    6565        md->domaintree = g_tree_new( msn_domaintree_cmp );
    66         md->ns->fd = md->auth->fd = -1;
     66        md->ns->fd = -1;
    6767       
    6868        msn_connections = g_slist_prepend( msn_connections, ic );
     
    8787               
    8888                msn_ns_close( md->ns );
    89                 msn_ns_close( md->auth );
    9089               
    9190                while( md->switchboards )
     
    9796                        g_free( md->tokens[i] );
    9897                g_free( md->lock_key );
     98                g_free( md->pp_policy );
    9999               
    100100                while( md->groups )
     
    181181        struct msn_data *md = ic->proto_data;
    182182       
    183         strcpy( md->tokens[1], md->tokens[2] );
    184        
    185183        if( state == NULL )
    186184                md->away_state = msn_away_state_list;
     
    284282static void msn_rem_permit( struct im_connection *ic, char *who )
    285283{
    286         //msn_buddy_list_remove( ic, MSN_BUDDY_AL, who, NULL );
     284        msn_buddy_list_remove( ic, MSN_BUDDY_AL, who, NULL );
    287285}
    288286
     
    302300static void msn_rem_deny( struct im_connection *ic, char *who )
    303301{
    304         //msn_buddy_list_remove( ic, MSN_BUDDY_BL, who, NULL );
     302        msn_buddy_list_remove( ic, MSN_BUDDY_BL, who, NULL );
    305303}
    306304
Note: See TracChangeset for help on using the changeset viewer.