create_work(): use the SCHED_CONFIG passed as arg, not the global var

This commit is contained in:
David Anderson 2017-12-22 19:59:38 -08:00
parent 562c063fa9
commit 3e4d86eed9
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ int create_work2(
// check for presence of result template.
// we don't need to actually look at it.
//
const char* p = config.project_path(result_template_filename);
const char* p = config_loc.project_path(result_template_filename);
if (!boinc_file_exists(p)) {
fprintf(stderr,
"create_work: result template file %s doesn't exist\n", p