diff options
Diffstat (limited to 'protocols/msn/msn.c')
| -rw-r--r-- | protocols/msn/msn.c | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c index 74a41322..676a8ad7 100644 --- a/protocols/msn/msn.c +++ b/protocols/msn/msn.c @@ -38,7 +38,7 @@ static void msn_init( account_t *acc )  static void msn_login( account_t *acc )  { -	struct im_connection *ic = imc_new( acc ); +	struct im_connection *ic = imcb_new( acc );  	struct msn_data *md = g_new0( struct msn_data, 1 );  	ic->proto_data = md; @@ -46,17 +46,17 @@ static void msn_login( account_t *acc )  	if( strchr( acc->user, '@' ) == NULL )  	{ -		imc_error( ic, "Invalid account name" ); +		imcb_error( ic, "Invalid account name" );  		imc_logout( ic, FALSE );  		return;  	} -	imc_log( ic, "Connecting" ); +	imcb_log( ic, "Connecting" );  	md->fd = proxy_connect( "messenger.hotmail.com", 1863, msn_ns_connected, ic );  	if( md->fd < 0 )  	{ -		imc_error( ic, "Could not connect to server" ); +		imcb_error( ic, "Could not connect to server" );  		imc_logout( ic, TRUE );  		return;  	} @@ -95,7 +95,7 @@ static void msn_logout( struct im_connection *ic )  			{  				m = l->data; -				imc_log( ic, "Warning: Closing down MSN connection with unsent message to %s, you'll have to resend it.", m->who ); +				imcb_log( ic, "Warning: Closing down MSN connection with unsent message to %s, you'll have to resend it.", m->who );  				g_free( m->who );  				g_free( m->text );  				g_free( m ); @@ -227,7 +227,7 @@ static void msn_set_my_name( struct im_connection *ic, char *info )  static void msn_get_info(struct im_connection *ic, char *who)   {  	/* Just make an URL and let the user fetch the info */ -	imc_log( ic, "%s\n%s: %s%s", _("User Info"), _("For now, fetch yourself"), PROFILE_URL, who ); +	imcb_log( ic, "%s\n%s: %s%s", _("User Info"), _("For now, fetch yourself"), PROFILE_URL, who );  }  static void msn_add_buddy( struct im_connection *ic, char *who, char *group ) @@ -372,7 +372,7 @@ static char *msn_set_display_name( set_t *set, char *value )  	if( strlen( value ) > 129 )  	{ -		imc_log( ic, "Maximum name length exceeded" ); +		imcb_log( ic, "Maximum name length exceeded" );  		return NULL;  	} | 
