diff options
author | Andy Green <andy@warmcat.com> | 2021-10-19 06:31:58 +0100 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2021-10-19 07:29:13 +0100 |
commit | d77a6c397ec84a94c581d055704af05e8e277467 (patch) | |
tree | 1f84728c1b1f79a3e4b27e33a19b5ade2b806a19 /lib | |
parent | 36af26600107ec744413c811cdce7fad24450195 (diff) | |
download | libwebsockets-d77a6c397ec84a94c581d055704af05e8e277467.tar.gz |
client: connect_check fail just log once
Diffstat (limited to 'lib')
-rw-r--r-- | lib/core-net/client/connect3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/core-net/client/connect3.c b/lib/core-net/client/connect3.c index 4b1f0c4b..e4d4cd23 100644 --- a/lib/core-net/client/connect3.c +++ b/lib/core-net/client/connect3.c @@ -95,8 +95,10 @@ lws_client_connect_check(struct lws *wsi) return LCCCR_CONNECTED; } - lwsl_wsi_notice(wsi, "getsockopt fd %d says err %d", + lwsl_wsi_notice(wsi, "getsockopt fd %d says e %d", wsi->desc.sockfd, e); + + return LCCCR_FAILED; } #else |