From a6a7fa646e9c04f1322dbaae611f17529439d157 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Sat, 8 Jul 2023 11:29:29 +0200 Subject: [PATCH] fix: l/r/h/http2.c: Fix spelling mistake Fix spelling mistake it was found while packaging mosquito for debian: I: mosquitto: spelling-error-in-binary Inital Initial [usr/sbin/mosquitto] I: mosquitto: spelling-error-in-binary witholding withholding [usr/sbin/mosquitto] Forwarded: https://github.com/warmcat/libwebsockets/pull/2927 Signed-off-by: Philippe Coval --- lib/roles/h2/http2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roles/h2/http2.c b/lib/roles/h2/http2.c index 50cdccec43..15e9ef6102 100644 --- a/lib/roles/h2/http2.c +++ b/lib/roles/h2/http2.c @@ -534,7 +534,7 @@ lws_h2_settings(struct lws *wsi, struct http2_settings *settings, case H2SET_INITIAL_WINDOW_SIZE: if (b > 0x7fffffff) { lws_h2_goaway(nwsi, H2_ERR_FLOW_CONTROL_ERROR, - "Inital Window beyond max"); + "Initial Window beyond max"); return 1; } @@ -1618,7 +1618,7 @@ lws_h2_parse_end_of_frame(struct lws *wsi) if (!h2n->swsi->h2.END_HEADERS) { /* we are not finished yet */ - lwsl_info("witholding http action for continuation\n"); + lwsl_info("withholding http action for continuation\n"); h2n->cont_exp_sid = h2n->sid; h2n->cont_exp = 1; break;