From 745ec3ac5e93bd9eb6cce67fd4d5793c94385a2b Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Mon, 7 Apr 2003 23:43:42 +0000 Subject: [PATCH] bug fix svn path=/trunk/boinc/; revision=1139 --- client/client_state.C | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/client_state.C b/client/client_state.C index dfe2ede7e1..92f4f2cece 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -1115,9 +1115,8 @@ bool CLIENT_STATE::garbage_collect() { // report_result_error(*rp, 0, "Couldn't get input files"); } - } else { - rp->wup->ref_cnt++; } + rp->wup->ref_cnt++; for (i=0; ioutput_files.size(); i++) { // If one of the file infos had a failure, // mark the result as done and report the error. @@ -1130,9 +1129,8 @@ bool CLIENT_STATE::garbage_collect() { // report_result_error(*rp, 0, "Couldn't upload files"); } - } else { - rp->output_files[i].file_info->ref_cnt++; } + rp->output_files[i].file_info->ref_cnt++; } result_iter++; }