make libconfuse handle config files case insensitive

This commit is contained in:
Michael Stapelberg 2011-10-18 22:40:14 +01:00
parent 692f0124a3
commit 631e460f8a

View File

@ -303,7 +303,7 @@ int main(int argc, char *argv[]) {
if (configfile == NULL)
configfile = get_config_path();
cfg = cfg_init(opts, CFGF_NONE);
cfg = cfg_init(opts, CFGF_NOCASE);
if (cfg_parse(cfg, configfile) == CFG_PARSE_ERROR)
return EXIT_FAILURE;