Skip to content
Snippets Groups Projects
Commit d5060d25 authored by Andy Green's avatar Andy Green
Browse files
parent ec1296a6
No related branches found
No related tags found
No related merge requests found
...@@ -352,7 +352,7 @@ lws_client_reset(struct lws *wsi, int ssl, const char *address, int port, const ...@@ -352,7 +352,7 @@ lws_client_reset(struct lws *wsi, int ssl, const char *address, int port, const
if (lws_hdr_simple_create(wsi, _WSI_TOKEN_CLIENT_HOST, host)) if (lws_hdr_simple_create(wsi, _WSI_TOKEN_CLIENT_HOST, host))
return NULL; return NULL;
close(wsi->sock); compatible_close(wsi->sock);
remove_wsi_socket_from_fds(wsi); remove_wsi_socket_from_fds(wsi);
wsi->sock = LWS_SOCK_INVALID; wsi->sock = LWS_SOCK_INVALID;
wsi->state = LWSS_CLIENT_UNCONNECTED; wsi->state = LWSS_CLIENT_UNCONNECTED;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment