mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user