From: John Bampton Date: Sat, 17 Sep 2022 19:48:43 +0000 (+1000) Subject: misc: fix spelling in two source files X-Git-Tag: curl-7_86_0~206 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a46e4124641f0bb0a7cb77f1f20620db49c57af2;p=thirdparty%2Fcurl.git misc: fix spelling in two source files Closes #9529 --- 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) {