Commit 4aec92fd authored by Warren Dukes's avatar Warren Dukes

rewrite error message for wrong number of config args

git-svn-id: https://svn.musicpd.org/mpd/trunk@171 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 1a504535
...@@ -168,7 +168,7 @@ char ** readConf(char * file) { ...@@ -168,7 +168,7 @@ char ** readConf(char * file) {
numberOfArgs = buffer2array(string,&array); numberOfArgs = buffer2array(string,&array);
if(numberOfArgs==0) continue; if(numberOfArgs==0) continue;
if(2!=numberOfArgs) { if(2!=numberOfArgs) {
ERROR("need two args in conf at: %s\n",string); ERROR("improperly formated config line: %s\n",string);
exit(-1); exit(-1);
} }
i = 0; i = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment