*Plugin: remove redundant "line %i" from error messages

The MPD core will add this as a prefeix.
This commit is contained in:
Max Kellermann
2013-09-26 20:59:11 +02:00
parent 44faf1080c
commit 5bc4ab899f
5 changed files with 32 additions and 49 deletions

View File

@@ -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;
}