From ef426243195a5f0b35db678414185d87c3db2608 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 29 Aug 2002 04:19:51 +0000 Subject: [PATCH] close svn path=/trunk/boinc/; revision=390 --- client/cs_scheduler.C | 1 + client/http.C | 2 +- client/scheduler_op.C | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C index 8cf708ec60..5e43e7a964 100644 --- a/client/cs_scheduler.C +++ b/client/cs_scheduler.C @@ -318,6 +318,7 @@ void CLIENT_STATE::handle_scheduler_reply( f = fopen(SCHED_OP_RESULT_FILE, "r"); retval = sr.parse(f); + fclose(f); if (strlen(sr.project_name)) { strcpy(project->project_name, sr.project_name); diff --git a/client/http.C b/client/http.C index 2125de88e6..f35e3c3b3b 100644 --- a/client/http.C +++ b/client/http.C @@ -351,7 +351,7 @@ int HTTP_OP_SET::insert(HTTP_OP* ho) { bool HTTP_OP_SET::poll() { unsigned int i; HTTP_OP* htp; - int n; + int n, retval; bool action = false; for (i=0; i &urls) { urls.push_back(str); } } + fclose(f); if (log_flags.sched_op_debug) { printf("Parsed master file; got %d scheduler URLs\n", urls.size()); }