Skip to content
Snippets Groups Projects
Commit 5f50d014 authored by rswindell's avatar rswindell
Browse files

The same custom data_dir as parent of auto-generated transfer path logic needed

here in write_file_cfg() where the directories are created.
parent 5dbe9b50
No related branches found
No related tags found
No related merge requests found
......@@ -814,8 +814,8 @@ BOOL DLLCALL write_file_cfg(scfg_t* cfg, int backup_level)
, cfg->lib[cfg->dir[i]->lib]->code_prefix
, cfg->dir[i]->code_suffix);
strlwr(str);
safe_snprintf(path, sizeof(path), "%sdirs/%s/"
, cfg->data_dir
safe_snprintf(path, sizeof(path), "%s%s/"
, cfg->dir[i]->data_dir
, str);
}
else if (cfg->lib[cfg->dir[i]->lib]->parent_path[0]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment