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/msn/msn.c

    rcd4723c rc2fb3809  
    4848        {
    4949                imc_error( ic, "Invalid account name" );
    50                 imc_logout( ic );
     50                imc_logout( ic, FALSE );
    5151                return;
    5252        }
     
    5858        {
    5959                imc_error( ic, "Could not connect to server" );
    60                 imc_logout( ic );
     60                imc_logout( ic, TRUE );
    6161                return;
    6262        }
     
    379379        fn = msn_http_encode( value );
    380380       
    381         g_snprintf( buf, sizeof( buf ), "REA %d %s %s\r\n", ++md->trId, ic->username, fn );
     381        g_snprintf( buf, sizeof( buf ), "REA %d %s %s\r\n", ++md->trId, ic->acc->user, fn );
    382382        msn_write( ic, buf, strlen( buf ) );
    383383        g_free( fn );
Note: See TracChangeset for help on using the changeset viewer.