mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
client: fix wrong tls disable
This commit is contained in:
parent
e9c8cee5d5
commit
673f90d076
1 changed files with 1 additions and 1 deletions
|
@ -1074,7 +1074,7 @@ lws_client_reset(struct lws **pwsi, int ssl, const char *address, int port,
|
|||
|
||||
#if defined(LWS_WITH_TLS)
|
||||
if (!ssl)
|
||||
wsi->tls.use_ssl &= LCCSCF_USE_SSL;
|
||||
wsi->tls.use_ssl &= ~LCCSCF_USE_SSL;
|
||||
else
|
||||
wsi->tls.use_ssl |= LCCSCF_USE_SSL;
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue