summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/avatar.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/Gadu-Gadu/src/avatar.cpp
parent9ae82271f8dc01e32df1c76cfec64771bc5ee6d0 (diff)
NETLIBHTTPREQUEST::cbSize = old unused field removed
Diffstat (limited to 'protocols/Gadu-Gadu/src/avatar.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/avatar.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/avatar.cpp b/protocols/Gadu-Gadu/src/avatar.cpp
index 0b713871c3..3ab82cd50f 100644
--- a/protocols/Gadu-Gadu/src/avatar.cpp
+++ b/protocols/Gadu-Gadu/src/avatar.cpp
@@ -381,8 +381,7 @@ void __cdecl GaduProto::setavatarthread(void *param)
char* token = getStringA(GG_KEY_TOKEN);
//construct request
- NETLIBHTTPREQUEST req = { 0 };
- req.cbSize = sizeof(req);
+ NETLIBHTTPREQUEST req = {};
req.requestType = REQUEST_POST;
req.szUrl = "http://avatars.nowe.gg/upload";
req.flags = NLHRF_NODUMP | NLHRF_HTTP11;
@@ -444,7 +443,6 @@ void __cdecl GaduProto::setavatarthread(void *param)
//construct 2nd request
memset(&req, 0, sizeof(req));
- req.cbSize = sizeof(req);
req.requestType = REQUEST_POST;
req.szUrl = "http://avatars.nowe.gg/upload";
req.flags = NLHRF_NODUMP | NLHRF_HTTP11;