Skip to content

Commit

Permalink
fix: l/r/h/http2.c: Fix spelling mistake
Browse files Browse the repository at this point in the history
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: #2927
Signed-off-by: Philippe Coval <[email protected]>
  • Loading branch information
rzr authored and lws-team committed Sep 21, 2023
1 parent f9d1f25 commit a6a7fa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/roles/h2/http2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit a6a7fa6

Please sign in to comment.