From e7cc127dce9b9e6d2cc6608e0a6c8ee69a1e6cc0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 13 Dec 2003 01:40:28 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2795 --- checkin_notes | 6 ++++++ client/app.C | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index 12476e1afb..a645b544e5 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8458,3 +8458,9 @@ David 12 Dec 2003 client_state.C net_xfer.C,h pers_file_xfer.C + +David 12 Dec 2003 + - fixed bug that caused est. time to completion to not update + + client/ + app.C diff --git a/client/app.C b/client/app.C index 91255a167b..a50fa02370 100644 --- a/client/app.C +++ b/client/app.C @@ -605,9 +605,9 @@ bool ACTIVE_TASK_SET::check_app_exited() { for (int i=0; ipid_handle, &exit_code)) { - atp->get_status_msg(); - atp->result->final_cpu_time = atp->checkpoint_cpu_time; if (exit_code != STILL_ACTIVE) { + atp->get_status_msg(); + atp->result->final_cpu_time = atp->checkpoint_cpu_time; found = true; if (atp->state == PROCESS_ABORT_PENDING) { atp->state = PROCESS_ABORTED; @@ -1165,7 +1165,7 @@ bool ACTIVE_TASK_SET::get_status_msgs() { for (i=0; icheckpoint_cpu_time; - if(atp->get_status_msg()) { + if (atp->get_status_msg()) { atp->estimate_frac_rate_of_change(now); if (old_time != atp->checkpoint_cpu_time) { action = true;