replaced last remaining close on wsi->sock with compatible_close
Signed-off-by: Tobias Maier <tobias.maier@netplace.com>
This commit is contained in:
parent
e8c00aa47e
commit
37029d9081
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ struct libwebsocket *__libwebsocket_client_connect_2(
|
|||
|
||||
if (lws_set_socket_options(context, wsi->sock)) {
|
||||
lwsl_err("Failed to set wsi socket options\n");
|
||||
close(wsi->sock);
|
||||
compatible_close(wsi->sock);
|
||||
goto oom4;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue