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/HTTPServer/src/GuiElements.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/HTTPServer') diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index 963a1cd223..329258e1b9 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -143,7 +143,6 @@ unsigned long GetExternIP(const char *szURL, const char *szPattern) NETLIBHTTPREQUEST nlhr; memset(&nlhr, 0, sizeof(nlhr)); - nlhr.cbSize = sizeof(nlhr); nlhr.requestType = REQUEST_GET; nlhr.flags = NLHRF_DUMPASTEXT; nlhr.szUrl = (char*)szURL; -- cgit v1.2.3