summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-01 20:51:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-01 20:51:12 +0300
commit40203d30ad1a569cfea61442782393b200e9fbe3 (patch)
tree31b453500e6cc6c5bd5a7143f80ac941af5e7f71 /protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
parent06fc3d811d71a44b92d45e1263e5fb0099a7304e (diff)
warning fix
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp b/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
index ef8fec4bb3..b2fa8ff091 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
+++ b/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
@@ -55,8 +55,7 @@ namespace MediaUploader
nlhr.pData = (char*)allVector.data();
nlhr.dataLength = (int)allVector.size();
- NETLIBHTTPREQUEST* pnlhr = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,
- (WPARAM)WASocketConnection::hNetlibUser, (LPARAM)&nlhr);
+ NETLIBHTTPREQUEST *pnlhr = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)g_hNetlibUser, (LPARAM)&nlhr);
string data = pnlhr->pData;