aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-02 20:55:00 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-02 20:55:00 +0000
commit4aec92fd6ec5d27eed7d5630a48341dde23b80bc (patch)
treee3c81a6ee041e89fb821df069edb332bf38eb2b5
parent1a504535419ed09de2024b68d658ed1f4809347d (diff)
downloadmpd-4aec92fd6ec5d27eed7d5630a48341dde23b80bc.tar.gz
mpd-4aec92fd6ec5d27eed7d5630a48341dde23b80bc.tar.xz
mpd-4aec92fd6ec5d27eed7d5630a48341dde23b80bc.zip
rewrite error message for wrong number of config args
git-svn-id: https://svn.musicpd.org/mpd/trunk@171 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index b6d03b030..eebd3752d 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -168,7 +168,7 @@ char ** readConf(char * file) {
numberOfArgs = buffer2array(string,&array);
if(numberOfArgs==0) continue;
if(2!=numberOfArgs) {
- ERROR("need two args in conf at: %s\n",string);
+ ERROR("improperly formated config line: %s\n",string);
exit(-1);
}
i = 0;