|
@@ -1080,7 +1080,6 @@ Download(P3DPackage *package, DownloadType dtype, const FileSpec &file_spec) :
|
|
|
_dtype(dtype),
|
|
_dtype(dtype),
|
|
|
_file_spec(file_spec)
|
|
_file_spec(file_spec)
|
|
|
{
|
|
{
|
|
|
- _total_client_expected_data = _file_spec.get_size();
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
@@ -1096,7 +1095,6 @@ Download(const P3DPackage::Download ©) :
|
|
|
_dtype(copy._dtype),
|
|
_dtype(copy._dtype),
|
|
|
_file_spec(copy._file_spec)
|
|
_file_spec(copy._file_spec)
|
|
|
{
|
|
{
|
|
|
- _total_client_expected_data = _file_spec.get_size();
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
@@ -1106,9 +1104,6 @@ Download(const P3DPackage::Download ©) :
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
void P3DPackage::Download::
|
|
void P3DPackage::Download::
|
|
|
download_progress() {
|
|
download_progress() {
|
|
|
- nout << "download_progress " << get_url() << ": " << _total_data
|
|
|
|
|
- << " of " << _total_server_expected_data << " and "
|
|
|
|
|
- << _total_client_expected_data << "\n";
|
|
|
|
|
P3DFileDownload::download_progress();
|
|
P3DFileDownload::download_progress();
|
|
|
assert(_package->_active_download == this);
|
|
assert(_package->_active_download == this);
|
|
|
|
|
|