summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-17 12:44:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-17 12:44:57 +0000
commit7137d2b9395dc051e2adbe0c83553479646cedb1 (patch)
tree43b9d98bb245bba34591ee1ee2b62b15a5004f97 /protocols/WhatsApp/src
parentf955b9916066920d8405274dc1d047a675df5fe2 (diff)
- unused netlib flags removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@16689 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp2
-rw-r--r--protocols/WhatsApp/src/proto.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp b/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
index 7d3d02b30d..9b85cf80bb 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
+++ b/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
@@ -51,7 +51,7 @@ namespace MediaUploader
nlhr.szUrl = (char*)host.c_str();
nlhr.headers = s_imageHeaders;
nlhr.headersCount = _countof(s_imageHeaders);
- nlhr.flags = NLHRF_HTTP11 | NLHRF_GENERATEHOST | NLHRF_REMOVEHOST | NLHRF_SSL;
+ nlhr.flags = NLHRF_HTTP11 | NLHRF_SSL;
nlhr.pData = (char*)allVector.data();
nlhr.dataLength = (int)allVector.size();
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp
index c4fa89948d..ba5cde24f7 100644
--- a/protocols/WhatsApp/src/proto.cpp
+++ b/protocols/WhatsApp/src/proto.cpp
@@ -259,7 +259,7 @@ bool WhatsAppProto::Register(int state, const string &cc, const string &number,
nlhr.szUrl = url.GetBuffer();
nlhr.headers = s_registerHeaders;
nlhr.headersCount = _countof(s_registerHeaders);
- nlhr.flags = NLHRF_HTTP11 | NLHRF_GENERATEHOST | NLHRF_REMOVEHOST | NLHRF_SSL;
+ nlhr.flags = NLHRF_HTTP11 | NLHRF_SSL;
NETLIBHTTPREQUEST* pnlhr = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,
(WPARAM)WASocketConnection::hNetlibUser, (LPARAM)&nlhr);