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:
parent
5e5d16e5f3
commit
4b7563f263
2
config.c
2
config.c
@ -220,7 +220,7 @@ const struct List_Config* getListConfig(const char * listname)
|
|||||||
{
|
{
|
||||||
free(buffer);
|
free(buffer);
|
||||||
buffer = text_easy_sprintf("%s/%s.config", MasterConfig->list_dir, listname);
|
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)
|
if (stat(buffer, &sb) != 0)
|
||||||
{
|
{
|
||||||
free(buffer);
|
free(buffer);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user