summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-10 14:18:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-10 14:18:28 +0300
commit23024949a3fcb28c6fdb8d3bd011580c70174f08 (patch)
tree96d00ce6d96c14a4c4773fb716fe96f219f4cc83 /plugins/PluginUpdater/src/Utils.cpp
parent99df86f79cb832f7f5c46cbaa316a747c46730e9 (diff)
fix for an exception in 32-bit mode
Diffstat (limited to 'plugins/PluginUpdater/src/Utils.cpp')
-rw-r--r--plugins/PluginUpdater/src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp
index aea147a0f1..4c8db5f5a2 100644
--- a/plugins/PluginUpdater/src/Utils.cpp
+++ b/plugins/PluginUpdater/src/Utils.cpp
@@ -161,7 +161,7 @@ bool ParseHashes(const wchar_t *ptszUrl, ptrW &baseUrl, SERVLIST &arHashes)
mir_snwprintf(pFileUrl.tszDiskPath, L"%s\\hashes.zip", g_tszTempPath);
pFileUrl.CRCsum = 0;
- HNETLIBCONN nlc;
+ HNETLIBCONN nlc = nullptr;
bool ret = DownloadFile(&pFileUrl, nlc);
Netlib_CloseHandle(nlc);