From fc58ddbdb1f9fe4ee969331887590c2923e2e32f Mon Sep 17 00:00:00 2001 From: Lorenzo Arena Date: Mon, 29 Aug 2022 09:19:37 +0200 Subject: [PATCH] minimal-examples-lowlevel: fix misleading comment for the conceal value --- .../ws-client/minimal-ws-client-binance/main.c | 6 +++--- .../ws-client/minimal-ws-client/minimal-ws-client.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/minimal-examples-lowlevel/ws-client/minimal-ws-client-binance/main.c b/minimal-examples-lowlevel/ws-client/minimal-ws-client-binance/main.c index 152d393e4..97c6d81ef 100644 --- a/minimal-examples-lowlevel/ws-client/minimal-ws-client-binance/main.c +++ b/minimal-examples-lowlevel/ws-client/minimal-ws-client-binance/main.c @@ -312,9 +312,9 @@ do_retry: * For this example, we try to conceal any problem for one set of * backoff retries and then exit the app. * - * If you set retry.conceal_count to be larger than the number of - * elements in the backoff table, it will never give up and keep - * retrying at the last backoff delay plus the random jitter amount. + * If you set retry.conceal_count to be LWS_RETRY_CONCEAL_ALWAYS, + * it will never give up and keep retrying at the last backoff + * delay plus the random jitter amount. */ if (lws_retry_sul_schedule_retry_wsi(wsi, &mco->sul, connect_client, &mco->retry_count)) { diff --git a/minimal-examples-lowlevel/ws-client/minimal-ws-client/minimal-ws-client.c b/minimal-examples-lowlevel/ws-client/minimal-ws-client/minimal-ws-client.c index 4859e5f77..299ad4aac 100644 --- a/minimal-examples-lowlevel/ws-client/minimal-ws-client/minimal-ws-client.c +++ b/minimal-examples-lowlevel/ws-client/minimal-ws-client/minimal-ws-client.c @@ -123,9 +123,9 @@ do_retry: * For this example, we try to conceal any problem for one set of * backoff retries and then exit the app. * - * If you set retry.conceal_count to be larger than the number of - * elements in the backoff table, it will never give up and keep - * retrying at the last backoff delay plus the random jitter amount. + * If you set retry.conceal_count to be LWS_RETRY_CONCEAL_ALWAYS, + * it will never give up and keep retrying at the last backoff + * delay plus the random jitter amount. */ if (lws_retry_sul_schedule_retry_wsi(wsi, &m->sul, connect_client, &m->retry_count)) {