summaryrefslogtreecommitdiff
path: root/plugins/PackUpdater/Src/Utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-04 11:24:49 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-04 11:24:49 +0300
commit2b6d50f7fdfaca84c3ee82909800ad67d2e99bdc (patch)
tree0fa8e6a2bb01de68127d9e45c27978fb43e267c3 /plugins/PackUpdater/Src/Utils.cpp
parent9ae82271f8dc01e32df1c76cfec64771bc5ee6d0 (diff)
NETLIBHTTPREQUEST::cbSize = old unused field removed
Diffstat (limited to 'plugins/PackUpdater/Src/Utils.cpp')
-rw-r--r--plugins/PackUpdater/Src/Utils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/PackUpdater/Src/Utils.cpp b/plugins/PackUpdater/Src/Utils.cpp
index 57a1c7db82..1c24905cac 100644
--- a/plugins/PackUpdater/Src/Utils.cpp
+++ b/plugins/PackUpdater/Src/Utils.cpp
@@ -108,7 +108,6 @@ void LoadOptions()
BOOL DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal)
{
NETLIBHTTPREQUEST nlhr = { 0 };
- nlhr.cbSize = sizeof(nlhr);
nlhr.requestType = REQUEST_GET;
nlhr.flags = NLHRF_REDIRECT | NLHRF_DUMPASTEXT | NLHRF_HTTP11;
char* szUrl = mir_u2a(tszURL);