aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/ShoutOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-26 20:59:11 +0200
committerMax Kellermann <max@duempel.org>2013-09-26 20:59:40 +0200
commit5bc4ab899f444723dbb47915c438d7a8673ef44e (patch)
tree7675554c68665c822ab62b3171f395cd532387e1 /src/output/ShoutOutputPlugin.cxx
parent44faf1080c944b4b9f579e34346c0b0d56de7da2 (diff)
downloadmpd-5bc4ab899f444723dbb47915c438d7a8673ef44e.tar.gz
mpd-5bc4ab899f444723dbb47915c438d7a8673ef44e.tar.xz
mpd-5bc4ab899f444723dbb47915c438d7a8673ef44e.zip
*Plugin: remove redundant "line %i" from error messages
The MPD core will add this as a prefeix.
Diffstat (limited to '')
-rw-r--r--src/output/ShoutOutputPlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/ShoutOutputPlugin.cxx b/src/output/ShoutOutputPlugin.cxx
index fe271141f..836ba4b4c 100644
--- a/src/output/ShoutOutputPlugin.cxx
+++ b/src/output/ShoutOutputPlugin.cxx
@@ -142,8 +142,8 @@ ShoutOutput::Configure(const config_param &param, Error &error)
if (*test != '\0' || quality < -1.0 || quality > 10.0) {
error.Format(config_domain,
"shout quality \"%s\" is not a number in the "
- "range -1 to 10, line %i",
- value, param.line);
+ "range -1 to 10",
+ value);
return false;
}