summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/server.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 /protocols/Facebook/src/server.cpp
parent9ae82271f8dc01e32df1c76cfec64771bc5ee6d0 (diff)
NETLIBHTTPREQUEST::cbSize = old unused field removed
Diffstat (limited to 'protocols/Facebook/src/server.cpp')
-rw-r--r--protocols/Facebook/src/server.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index 8601cd6db5..72ff76ac1f 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -761,7 +761,6 @@ void FacebookProto::OnPublishPrivateMessage(const JSONNode &root)
std::string szUrl = sticker["thread_image"]["uri"].as_string();
NETLIBHTTPREQUEST req = {};
- req.cbSize = sizeof(req);
req.flags = NLHRF_NODUMP | NLHRF_SSL | NLHRF_HTTP11 | NLHRF_REDIRECT;
req.requestType = REQUEST_GET;
req.szUrl = (char*)szUrl.c_str();