correct handling of mods_dir
FossilOrigin-Name: b112e4998dbb021d1ad0ba69bcb032c671c2a5c3d64e77921f2cb8b36d60cb81
This commit is contained in:
parent
34e7b84b0c
commit
837bc95685
@ -557,7 +557,7 @@ static int conf_read_dbg_level(cfg_t * cfg)
|
||||
}
|
||||
|
||||
struct cw_Mod ** conf_mods;
|
||||
char *conf_mods_dir = "";
|
||||
char *conf_mods_dir = NULL;
|
||||
|
||||
/*
|
||||
* Read the module names from config file
|
||||
@ -749,6 +749,8 @@ int read_config(const char *filename)
|
||||
CFG_END()
|
||||
};
|
||||
cfg_t *cfg;
|
||||
|
||||
conf_mods_dir=cw_strdup("");
|
||||
|
||||
if (!init_control_port())
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user