diff options
Diffstat (limited to 'protocols/Discord/src/gateway.cpp')
-rw-r--r-- | protocols/Discord/src/gateway.cpp | 3 |
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; |