rewrite error message for wrong number of config args
git-svn-id: https://svn.musicpd.org/mpd/trunk@171 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
1a50453541
commit
4aec92fd6e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user