scheduler rpc failure handling

svn path=/trunk/boinc/; revision=882
This commit is contained in:
Eric Heien 2003-02-08 00:22:38 +00:00
parent b0fc0fb3ea
commit 90d722a45d
1 changed files with 2 additions and 1 deletions

View File

@ -306,8 +306,9 @@ int CLIENT_STATE::handle_scheduler_reply(
f = fopen(SCHED_OP_RESULT_FILE, "r");
if (!f) return ERR_FOPEN;
retval = sr.parse(f); // check return?
retval = sr.parse(f);
fclose(f);
if (retval) return retval;
if (strlen(sr.project_name)) {
strcpy(project->project_name, sr.project_name);