Due to a mix-up in the variable names, Petidomo expanded all list

config file paths incorrectly when the list has a flat hierarchy. That
is fixed now.
This commit is contained in:
Peter Simons 2001-01-19 15:26:53 +00:00
parent 5e5d16e5f3
commit 4b7563f263

View File

@ -220,7 +220,7 @@ const struct List_Config* getListConfig(const char * listname)
{
free(buffer);
buffer = text_easy_sprintf("%s/%s.config", MasterConfig->list_dir, listname);
list_dir = MasterConfig->list_dir;
this_list_dir = MasterConfig->list_dir;
if (stat(buffer, &sb) != 0)
{
free(buffer);