* remove testing delay and comment in net.c
This commit is contained in:
Pete Batard 2012-03-12 00:20:03 +00:00
parent 7426573dc1
commit c07832b090
2 changed files with 6 additions and 9 deletions

View file

@ -196,7 +196,6 @@ BOOL DownloadFile(const char* url, const char* file)
SendMessage(hISOProgressBar, PBM_SETPOS, 0, 0);
ShowWindow(hISOProgressDlg, SW_SHOW);
UpdateWindow(hISOProgressDlg);
// Sleep(3000);
PrintStatus(0, FALSE, "Downloading %s: Connecting...\n", file);
uprintf("Downloading %s from %s\n", file, url);
@ -259,8 +258,6 @@ BOOL DownloadFile(const char* url, const char* file)
if (IS_ERROR(FormatStatus))
goto out;
Sleep(250);
dwSize = 0;
if (!pfWinHttpQueryDataAvailable(hRequest, &dwSize))
uprintf("Error in WinHttpQueryDataAvailable: %s\n", WinHTTPErrorString());