From a049313430fc1b9a00370218cf5584c754f9fd30 Mon Sep 17 00:00:00 2001 From: Mike Goslin Date: Thu, 14 Dec 2000 23:19:19 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/downloader/downloader.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/panda/src/downloader/downloader.cxx b/panda/src/downloader/downloader.cxx index 23fb35c8ea..bfb25a9261 100644 --- a/panda/src/downloader/downloader.cxx +++ b/panda/src/downloader/downloader.cxx @@ -342,6 +342,10 @@ initiate(const string &file_name, Filename file_dest, first_byte, last_byte, total_bytes, partial_content); + _tfirst = 0.0; + _tlast = 0.0; + _got_any_data = false; + return DS_success; } @@ -392,6 +396,9 @@ run(void) { _current_status->reset(); // Reset the flag _recompute_buffer = false; + // Reset the statistics + _tfirst = t0; + _current_status->_total_bytes = 0; } else if (_current_status->_bytes_in_buffer + _receive_size > _disk_buffer_size) {