From 4674d0442a4edc8647c060fbff2dd5e7ae9e3f84 Mon Sep 17 00:00:00 2001 From: Viliam Mateicka Date: Tue, 23 Dec 2008 18:00:37 +0100 Subject: shout: fixed bad error message printout --- src/output/shout_plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/output/shout_plugin.c') diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c index fe5fc9a16..7fdf4c1e0 100644 --- a/src/output/shout_plugin.c +++ b/src/output/shout_plugin.c @@ -203,9 +203,9 @@ static void *my_shout_init_driver(struct audio_output *audio_output, } sd->encoder = shout_encoder_plugin_get(encoding); - if (sd->encoder == NULL) - g_error("couldn't find shout encoder plugin for \"%s\" " - "at line %i\n", encoding, block_param->line); + if (sd->encoder == NULL) { + g_error("couldn't find shout encoder plugin for \"%s\"\n", encoding); + } block_param = getBlockParam(param, "protocol"); if (block_param) { -- cgit v1.2.3