Ignore:
Timestamp:
2007-04-16T01:03:08Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6bbb939
Parents:
c2fb3809
Message:

s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h a
little bit, grouping things by category instead of original Gaim 0.58
filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    rc2fb3809 r84b045d  
    3939static void msn_login( account_t *acc )
    4040{
    41         struct im_connection *ic = imc_new( acc );
     41        struct im_connection *ic = imcb_new( acc );
    4242        struct msn_data *md = g_new0( struct msn_data, 1 );
    4343       
     
    4747        if( strchr( acc->user, '@' ) == NULL )
    4848        {
    49                 imc_error( ic, "Invalid account name" );
     49                imcb_error( ic, "Invalid account name" );
    5050                imc_logout( ic, FALSE );
    5151                return;
    5252        }
    5353       
    54         imc_log( ic, "Connecting" );
     54        imcb_log( ic, "Connecting" );
    5555       
    5656        md->fd = proxy_connect( "messenger.hotmail.com", 1863, msn_ns_connected, ic );
    5757        if( md->fd < 0 )
    5858        {
    59                 imc_error( ic, "Could not connect to server" );
     59                imcb_error( ic, "Could not connect to server" );
    6060                imc_logout( ic, TRUE );
    6161                return;
     
    9696                                m = l->data;
    9797                       
    98                                 imc_log( ic, "Warning: Closing down MSN connection with unsent message to %s, you'll have to resend it.", m->who );
     98                                imcb_log( ic, "Warning: Closing down MSN connection with unsent message to %s, you'll have to resend it.", m->who );
    9999                                g_free( m->who );
    100100                                g_free( m->text );
     
    228228{
    229229        /* Just make an URL and let the user fetch the info */
    230         imc_log( ic, "%s\n%s: %s%s", _("User Info"), _("For now, fetch yourself"), PROFILE_URL, who );
     230        imcb_log( ic, "%s\n%s: %s%s", _("User Info"), _("For now, fetch yourself"), PROFILE_URL, who );
    231231}
    232232
     
    373373        if( strlen( value ) > 129 )
    374374        {
    375                 imc_log( ic, "Maximum name length exceeded" );
     375                imcb_log( ic, "Maximum name length exceeded" );
    376376                return NULL;
    377377        }
Note: See TracChangeset for help on using the changeset viewer.