aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r--protocols/jabber/io.c4
1 files changed, 1 insertions, 3 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 );