Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
7f7455c336
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/downloader/downloader.cxx

+ 1 - 1
panda/src/downloader/downloader.cxx

@@ -578,7 +578,7 @@ download(const string &file_name, Filename file_dest,
 
 
       if (ans == RS_eof) {
       if (ans == RS_eof) {
 
 
-	if (got_any_data == true) {
+	if (bytes > 0 || got_any_data == true) {
 	  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;