From 2b6d50f7fdfaca84c3ee82909800ad67d2e99bdc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 4 Jan 2024 11:24:49 +0300 Subject: NETLIBHTTPREQUEST::cbSize = old unused field removed --- plugins/PasteIt/src/PasteToWeb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/PasteIt/src/PasteToWeb.cpp') diff --git a/plugins/PasteIt/src/PasteToWeb.cpp b/plugins/PasteIt/src/PasteToWeb.cpp index a350ca3bbb..9d1ad7ac5f 100644 --- a/plugins/PasteIt/src/PasteToWeb.cpp +++ b/plugins/PasteIt/src/PasteToWeb.cpp @@ -431,9 +431,9 @@ char *PasteToWeb::SendToWeb(char *url, std::map &heade ++nHeaders; } - NETLIBHTTPREQUEST nlhr = { 0 }; NETLIBHTTPHEADER *httpHeaders = new NETLIBHTTPHEADER[nHeaders]; - nlhr.cbSize = sizeof(nlhr); + + NETLIBHTTPREQUEST nlhr = { 0 }; nlhr.requestType = REQUEST_POST; nlhr.flags = NLHRF_NODUMPSEND | NLHRF_DUMPASTEXT | NLHPIF_HTTP11; nlhr.szUrl = url; -- cgit v1.2.3