From fae3fbad757b4c8fdd39e0b429720c87575a3f87 Mon Sep 17 00:00:00 2001 From: Seth Cooper Date: Thu, 6 Feb 2003 03:39:10 +0000 Subject: [PATCH] time initialized in constructor svn path=/trunk/boinc/; revision=870 --- client/pers_file_xfer.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/pers_file_xfer.C b/client/pers_file_xfer.C index dfaacbffd8..15bf04a967 100644 --- a/client/pers_file_xfer.C +++ b/client/pers_file_xfer.C @@ -46,6 +46,7 @@ PERS_FILE_XFER::PERS_FILE_XFER() { nretry = 0; first_request_time = time(0); next_request_time = first_request_time; + time_so_far = 0; } int PERS_FILE_XFER::init(FILE_INFO* f, bool is_file_upload) { @@ -53,7 +54,6 @@ int PERS_FILE_XFER::init(FILE_INFO* f, bool is_file_upload) { fip = f; is_upload = is_file_upload; xfer_done = false; - time_so_far = 0; return 0; }