1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

replaced last remaining close on wsi->sock with compatible_close

Signed-off-by: Tobias Maier <tobias.maier@netplace.com>
This commit is contained in:
Tobias Maier 2013-03-14 13:02:23 +01:00 committed by Andy Green
parent e8c00aa47e
commit 37029d9081

View file

@ -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;
}