conf.c: speling fickses
git-svn-id: https://svn.musicpd.org/mpd/trunk@3920 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
bd561dec27
commit
7e1bb85c1a
@ -215,7 +215,7 @@ static ConfigParam * readConfigBlock(FILE * fp, int * count, char * string) {
|
|||||||
{
|
{
|
||||||
ERROR("improperly formatted 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 begining at line %i\n", ret->line);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -268,7 +268,7 @@ void readConf(char * file) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!findInList(configEntriesList, array[0], &voidPtr)) {
|
if(!findInList(configEntriesList, array[0], &voidPtr)) {
|
||||||
ERROR("unrecognized paramater in config file at line "
|
ERROR("unrecognized parameter in config file at line "
|
||||||
"%i: %s\n", count, string);
|
"%i: %s\n", count, string);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
@ -279,7 +279,7 @@ void readConf(char * file) {
|
|||||||
entry->configParamList->numberOfNodes)
|
entry->configParamList->numberOfNodes)
|
||||||
{
|
{
|
||||||
param = entry->configParamList->firstNode->data;
|
param = entry->configParamList->firstNode->data;
|
||||||
ERROR("config paramter \"%s\" is first defined on line "
|
ERROR("config parameter \"%s\" is first defined on line "
|
||||||
"%i and redefined on line %i\n",
|
"%i and redefined on line %i\n",
|
||||||
array[0], param->line, count);
|
array[0], param->line, count);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
Loading…
Reference in New Issue
Block a user