Download mismatched md5sum with http

This is from b25acfa7
This commit is contained in:
James R 2020-04-26 01:29:40 -07:00
parent 974f9e667b
commit 273b20d81d

View file

@ -2105,7 +2105,7 @@ static boolean CL_ServerConnectionTicker(boolean viams, const char *tmpsave, tic
if (http_source[0]) if (http_source[0])
{ {
for (i = 0; i < fileneedednum; i++) for (i = 0; i < fileneedednum; i++)
if (fileneeded[i].status == FS_NOTFOUND) if (fileneeded[i].status == FS_NOTFOUND || fileneeded[i].status == FS_MD5SUMBAD)
curl_transfers++; curl_transfers++;
cl_mode = CL_DOWNLOADHTTPFILES; cl_mode = CL_DOWNLOADHTTPFILES;
@ -2115,7 +2115,7 @@ static boolean CL_ServerConnectionTicker(boolean viams, const char *tmpsave, tic
case CL_DOWNLOADHTTPFILES: case CL_DOWNLOADHTTPFILES:
waitmore = false; waitmore = false;
for (i = 0; i < fileneedednum; i++) for (i = 0; i < fileneedednum; i++)
if (fileneeded[i].status == FS_NOTFOUND) if (fileneeded[i].status == FS_NOTFOUND || fileneeded[i].status == FS_MD5SUMBAD)
{ {
if (!curl_running) if (!curl_running)
CURLPrepareFile(http_source, i); CURLPrepareFile(http_source, i);