You need to sign in or sign up before continuing.
Commit 2bb238cd authored by Warren Dukes's avatar Warren Dukes

does this make you happy normalperson, is this the way you like it, do you like it like this?

git-svn-id: https://svn.musicpd.org/mpd/trunk@2465 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 14bcd3f9
...@@ -191,7 +191,7 @@ static ConfigParam * readConfigBlock(FILE * fp, int * count, char * string) { ...@@ -191,7 +191,7 @@ static ConfigParam * readConfigBlock(FILE * fp, int * count, char * string) {
} }
if(2 != argsMinusComment) { if(2 != argsMinusComment) {
ERROR("improperly formated config file at line %i:" ERROR("improperly formatted config file at line %i:"
" %s\n", *count, string); " %s\n", *count, string);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
...@@ -201,7 +201,7 @@ static ConfigParam * readConfigBlock(FILE * fp, int * count, char * string) { ...@@ -201,7 +201,7 @@ static ConfigParam * readConfigBlock(FILE * fp, int * count, char * string) {
0 == strcmp(array[0], CONF_BLOCK_END) || 0 == strcmp(array[0], CONF_BLOCK_END) ||
0 == strcmp(array[1], CONF_BLOCK_END)) 0 == strcmp(array[1], CONF_BLOCK_END))
{ {
ERROR("improperly formated config file at line %i:" ERROR("improperly formatted config file at line %i:"
" %s\n", count, string); " %s\n", count, string);
ERROR("in block begging at line %i\n", ret->line); ERROR("in block begging at line %i\n", ret->line);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
...@@ -246,7 +246,7 @@ void readConf(char * file) { ...@@ -246,7 +246,7 @@ void readConf(char * file) {
if(0 == argsMinusComment) continue; if(0 == argsMinusComment) continue;
if(2 != argsMinusComment) { if(2 != argsMinusComment) {
ERROR("improperly formated config file at line %i:" ERROR("improperly formatted config file at line %i:"
" %s\n", count, string); " %s\n", count, string);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
...@@ -271,7 +271,7 @@ void readConf(char * file) { ...@@ -271,7 +271,7 @@ void readConf(char * file) {
if(entry->mask & CONF_BLOCK_MASK) { if(entry->mask & CONF_BLOCK_MASK) {
if(0 != strcmp(array[1], CONF_BLOCK_BEGIN)) { if(0 != strcmp(array[1], CONF_BLOCK_BEGIN)) {
ERROR("improperly formated config file at " ERROR("improperly formatted config file at "
"line %i: %s\n", count, string); "line %i: %s\n", count, string);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
......
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