Browse Source

*** empty log message ***

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

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

@@ -499,7 +499,7 @@ attempt_read(int length, DownloadStatus &status, int &bytes_read) {
 	// Try again
 	// Try again
 	break;
 	break;
       case RS_success:
       case RS_success:
-	nassertr(bytes_read == length, RS_error);
+	nassertr(bytes == length, RS_error);
 	return RS_success;
 	return RS_success;
       default:
       default:
 	downloader_cat.error()
 	downloader_cat.error()