diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-05 22:34:23 -0700 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-05 22:34:23 -0700 |
commit | 552e641194147078c7858059df9916d5d548b7a1 (patch) | |
tree | a085ab8181998c3efc0b2c9c7a2b651372aa7503 /protocols/jabber/io.c | |
parent | aef4828a1dc51de10a43bb7dd5d023de9971295b (diff) |
Now that all these functions take format strings, I have to make sure I
use that and don't introduce vulnerabilities. :-)
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r-- | protocols/jabber/io.c | 4 |
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 ); |