From a46e4124641f0bb0a7cb77f1f20620db49c57af2 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 18 Sep 2022 05:48:43 +1000 Subject: [PATCH] misc: fix spelling in two source files Closes #9529 --- lib/ws.c | 2 +- src/tool_libinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ws.c b/lib/ws.c index f045e5aefd..e68d0f4fff 100644 --- a/lib/ws.c +++ b/lib/ws.c @@ -145,7 +145,7 @@ CURLcode Curl_ws_accept(struct Curl_easy *data) if(result) return result; - infof(data, "Recevied 101, switch to WebSockets; mask %02x%02x%02x%02x", + infof(data, "Received 101, switch to WebSockets; mask %02x%02x%02x%02x", ws->ws.mask[0], ws->ws.mask[1], ws->ws.mask[2], ws->ws.mask[3]); k->upgr101 = UPGR101_RECEIVED; diff --git a/src/tool_libinfo.c b/src/tool_libinfo.c index 1fc2996be4..21b8da9703 100644 --- a/src/tool_libinfo.c +++ b/src/tool_libinfo.c @@ -114,7 +114,7 @@ const char *protocol2scheme(proto_t proto) return proto < proto_last? built_in_protos[proto]: NULL; } -/* Enter a protoype in the built-in prototype table. */ +/* Enter a prototype in the built-in prototype table. */ static CURLcode enter_proto(const char *proto) { if(scheme2protocol(proto) == PROTO_NONE) { -- 2.47.3