Updater: added HttpOpenRequest values, removed test value accidentally committed.

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4499 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
dmex
2011-08-21 06:45:13 +00:00
parent cf091b4247
commit c776ccefcc
+4 -4
View File
@@ -490,7 +490,7 @@ INT_PTR CALLBACK MainWndProc(
{
EnableWindow(GetDlgItem(hwndDlg, IDC_DOWNLOAD), FALSE);
if (!PhInstalledUsingSetup())
if (PhInstalledUsingSetup())
{
Updater_SetStatusText(hwndDlg, L"Initializing");
@@ -600,13 +600,13 @@ BOOL InitializeConnection(
return FALSE;
}
// Open the HTTP request.
NetRequest = HttpOpenRequest(
NetConnection,
NULL,
L"GET",
path,
NULL,
L"HTTP/1.1",
NULL,
NULL,
EnableCache ? 0 : INTERNET_FLAG_PRAGMA_NOCACHE | INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE | INTERNET_FLAG_RESYNCHRONIZE,