mirror of https://github.com/BOINC/boinc.git
create_work(): use the SCHED_CONFIG passed as arg, not the global var
This commit is contained in:
parent
562c063fa9
commit
3e4d86eed9
|
@ -304,7 +304,7 @@ int create_work2(
|
||||||
// check for presence of result template.
|
// check for presence of result template.
|
||||||
// we don't need to actually look at it.
|
// 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)) {
|
if (!boinc_file_exists(p)) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"create_work: result template file %s doesn't exist\n", p
|
"create_work: result template file %s doesn't exist\n", p
|
||||||
|
|
Loading…
Reference in New Issue