summaryrefslogtreecommitdiff
path: root/plugins/PasteIt/src/PasteToWeb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PasteIt/src/PasteToWeb.cpp')
-rw-r--r--plugins/PasteIt/src/PasteToWeb.cpp4
1 files changed, 2 insertions, 2 deletions
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<std::string, std::string> &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;