mirror of https://github.com/BOINC/boinc.git
scheduler rpc failure handling
svn path=/trunk/boinc/; revision=882
This commit is contained in:
parent
b0fc0fb3ea
commit
90d722a45d
|
@ -306,8 +306,9 @@ int CLIENT_STATE::handle_scheduler_reply(
|
||||||
|
|
||||||
f = fopen(SCHED_OP_RESULT_FILE, "r");
|
f = fopen(SCHED_OP_RESULT_FILE, "r");
|
||||||
if (!f) return ERR_FOPEN;
|
if (!f) return ERR_FOPEN;
|
||||||
retval = sr.parse(f); // check return?
|
retval = sr.parse(f);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
if (retval) return retval;
|
||||||
|
|
||||||
if (strlen(sr.project_name)) {
|
if (strlen(sr.project_name)) {
|
||||||
strcpy(project->project_name, sr.project_name);
|
strcpy(project->project_name, sr.project_name);
|
||||||
|
|
Loading…
Reference in New Issue