Merge pull request #2285 from BOINC/dpa_backend

create_work(): use the SCHED_CONFIG passed as arg, not the global var
This commit is contained in:
SETIguy 2018-01-03 13:41:36 -08:00 committed by GitHub
commit b3724268ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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