Changeset 84b045d for protocols/msn/msn.c
- Timestamp:
- 2007-04-16T01:03:08Z (16 years ago)
- Branches:
- master
- Children:
- 6bbb939
- Parents:
- c2fb3809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.c
rc2fb3809 r84b045d 39 39 static void msn_login( account_t *acc ) 40 40 { 41 struct im_connection *ic = imc _new( acc );41 struct im_connection *ic = imcb_new( acc ); 42 42 struct msn_data *md = g_new0( struct msn_data, 1 ); 43 43 … … 47 47 if( strchr( acc->user, '@' ) == NULL ) 48 48 { 49 imc _error( ic, "Invalid account name" );49 imcb_error( ic, "Invalid account name" ); 50 50 imc_logout( ic, FALSE ); 51 51 return; 52 52 } 53 53 54 imc _log( ic, "Connecting" );54 imcb_log( ic, "Connecting" ); 55 55 56 56 md->fd = proxy_connect( "messenger.hotmail.com", 1863, msn_ns_connected, ic ); 57 57 if( md->fd < 0 ) 58 58 { 59 imc _error( ic, "Could not connect to server" );59 imcb_error( ic, "Could not connect to server" ); 60 60 imc_logout( ic, TRUE ); 61 61 return; … … 96 96 m = l->data; 97 97 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 ); 99 99 g_free( m->who ); 100 100 g_free( m->text ); … … 228 228 { 229 229 /* 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 ); 231 231 } 232 232 … … 373 373 if( strlen( value ) > 129 ) 374 374 { 375 imc _log( ic, "Maximum name length exceeded" );375 imcb_log( ic, "Maximum name length exceeded" ); 376 376 return NULL; 377 377 }
Note: See TracChangeset
for help on using the changeset viewer.