--- psiconv/trunk/lib/psiconv/configuration.c 2004/02/08 22:44:29 204 +++ psiconv/trunk/lib/psiconv/configuration.c 2004/02/22 22:24:39 217 @@ -62,7 +62,7 @@ return result; } -psiconv_config_free(psiconv_config config) +void psiconv_config_free(psiconv_config config) { free(config); } @@ -75,7 +75,7 @@ int charnr; if (!(strcasecmp(var,"verbosity"))) { - if ((value >= 1) && (value <= 4)) + if ((value >= 1) && (value <= 5)) (*config)->verbosity = value; else psiconv_error(*config,0,0,"Configuration file %s, line %d: " @@ -115,7 +115,7 @@ psiconv_unicode_select_characterset(*config,value); else psiconv_error(*config,0,0,"Configuration file %s, line %d: " - "CharacterSet should be between 0 and 0", + "CharacterSet should be between 0 and 1", filename,linenr); } else if (!(strcasecmp(var,"unknownunicodechar"))) { if ((value >= 1) && (value < 0x10000)) @@ -359,4 +359,5 @@ psiconv_config_parse_file(filename,config); free(filename); } + free(path); }