From 37029d90814473d58b349787e3854c8445f0d1c1 Mon Sep 17 00:00:00 2001 From: Tobias Maier Date: Thu, 14 Mar 2013 13:02:23 +0100 Subject: [PATCH] replaced last remaining close on wsi->sock with compatible_close Signed-off-by: Tobias Maier --- lib/client-handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client-handshake.c b/lib/client-handshake.c index f8fb6b51..79dba7bd 100644 --- a/lib/client-handshake.c +++ b/lib/client-handshake.c @@ -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; }