diff options
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/jabber/io.c | 4 | ||||
| -rw-r--r-- | protocols/msn/ns.c | 10 | 
2 files changed, 3 insertions, 11 deletions
| diff --git a/protocols/jabber/io.c b/protocols/jabber/io.c index 699c7019..bf52fb4e 100644 --- a/protocols/jabber/io.c +++ b/protocols/jabber/io.c @@ -466,9 +466,7 @@ static xt_status jabber_pkt_stream_error( struct xt_node *node, gpointer data )  	}  	else  	{ -		s = g_strdup_printf( "Stream error: %s%s%s", type, text ? ": " : "", text ? text : "" ); -		imc_error( ic, s ); -		g_free( s ); +		imc_error( ic, "Stream error: %s%s%s", type, text ? ": " : "", text ? text : "" );  	}  	imc_logout( ic ); diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index e4530b8f..81ad1941 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -670,15 +670,9 @@ static void msn_auth_got_passport_id( struct passport_reply *rep )  	if( key == NULL )  	{ -		char *err; -		 -		err = g_strdup_printf( "Error during Passport authentication (%s)", -		                       rep->error_string ? rep->error_string : "Unknown error" ); -		 -		imc_error( ic, err ); +		imc_error( ic, "Error during Passport authentication (%s)", +		               rep->error_string ? rep->error_string : "Unknown error" );  		imc_logout( ic ); -		 -		g_free( err );  	}  	else  	{ | 
