From 90d722a45dee74c2ac6783550c70ea392a60539d Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Sat, 8 Feb 2003 00:22:38 +0000 Subject: [PATCH] scheduler rpc failure handling svn path=/trunk/boinc/; revision=882 --- client/cs_scheduler.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C index e7c81d1884..c4c438d8cb 100644 --- a/client/cs_scheduler.C +++ b/client/cs_scheduler.C @@ -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);