Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
689896a258
1 changed files with 4 additions and 0 deletions
  1. 4 0
      panda/src/downloader/downloader.cxx

+ 4 - 0
panda/src/downloader/downloader.cxx

@@ -582,6 +582,10 @@ download(const string &file_name, Filename file_dest,
 	  if (downloader_cat.is_debug())
 	  if (downloader_cat.is_debug())
 	    downloader_cat.debug()
 	    downloader_cat.debug()
 	      << "Download for: " << file_name << " completed" << endl;
 	      << "Download for: " << file_name << " completed" << endl;
+	  if (bytes > 0) {
+	    status._bytes_in_buffer += bytes;
+   	    status._next_in += bytes;
+	  }
 	  bool ret = write_to_disk(status);
 	  bool ret = write_to_disk(status);
 	  _dest_stream.close();
 	  _dest_stream.close();