break;
if (i >= cf_global_options_num)
+ {
+ ERROR ("configfile: Cannot set unknown global option `%s'.", option);
return (-1);
+ }
if (cf_global_options[i].from_cli && (! from_cli))
{
- DEBUG ("Configfile: Ignoring %s `%s' option because "
+ DEBUG ("configfile: Ignoring %s `%s' option because "
"it was overriden by a command-line option.",
option, value);
return (0);
break;
if (i >= cf_global_options_num)
+ {
+ ERROR ("configfile: Cannot get unknown global option `%s'.", option);
return (NULL);
+ }
return ((cf_global_options[i].value != NULL)
? cf_global_options[i].value