svn path=/trunk/boinc/; revision=1139
This commit is contained in:
Eric Heien 2003-04-07 23:43:42 +00:00
parent f44170c5ee
commit 745ec3ac5e
1 changed files with 2 additions and 4 deletions

View File

@ -1115,9 +1115,8 @@ bool CLIENT_STATE::garbage_collect() {
// //
report_result_error(*rp, 0, "Couldn't get input files"); report_result_error(*rp, 0, "Couldn't get input files");
} }
} else {
rp->wup->ref_cnt++;
} }
rp->wup->ref_cnt++;
for (i=0; i<rp->output_files.size(); i++) { for (i=0; i<rp->output_files.size(); i++) {
// If one of the file infos had a failure, // If one of the file infos had a failure,
// mark the result as done and report the error. // 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"); 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++; result_iter++;
} }