diff options
author | Viliam Mateicka <viliam.mateicka@gmail.com> | 2008-12-23 18:00:37 +0100 |
---|---|---|
committer | Viliam Mateicka <viliam.mateicka@gmail.com> | 2008-12-23 18:00:37 +0100 |
commit | 4674d0442a4edc8647c060fbff2dd5e7ae9e3f84 (patch) | |
tree | 1fd21a48fc4c9161815c68afe300f1e99346c0f2 /src/output | |
parent | 37796699cf751eb3ea8625d6c93e38abb46a6c87 (diff) | |
download | mpd-4674d0442a4edc8647c060fbff2dd5e7ae9e3f84.tar.gz mpd-4674d0442a4edc8647c060fbff2dd5e7ae9e3f84.tar.xz mpd-4674d0442a4edc8647c060fbff2dd5e7ae9e3f84.zip |
shout: fixed bad error message printout
Diffstat (limited to '')
-rw-r--r-- | src/output/shout_plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |