summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-24 13:20:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-24 13:20:12 +0300
commit0db449bf70966941453cfbb8ec05fd430a96dc12 (patch)
treee01421e30b58ae2799929e16a6a326f5d4f68a5d /protocols/Discord
parent30dad0388a14244ef9b06afc113085f6a49bcbb8 (diff)
useless member NETLIBOPENCONNECTION::cbSize removed
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/src/gateway.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp
index cc48552b13..fc760cb980 100644
--- a/protocols/Discord/src/gateway.cpp
+++ b/protocols/Discord/src/gateway.cpp
@@ -140,8 +140,7 @@ bool CDiscordProto::GatewayThreadWorker()
if (!mir_strncmp(m_szGateway, "wss://", 6))
m_szGateway.Delete(0, 6);
- NETLIBOPENCONNECTION conn = { 0 };
- conn.cbSize = sizeof(conn);
+ NETLIBOPENCONNECTION conn = {};
conn.szHost = m_szGateway;
conn.flags = NLOCF_V2 | NLOCF_SSL;
conn.timeout = 5;