]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: fix spelling in two source files
authorJohn Bampton <jbampton@gmail.com>
Sat, 17 Sep 2022 19:48:43 +0000 (05:48 +1000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 19 Sep 2022 06:47:55 +0000 (08:47 +0200)
Closes #9529

lib/ws.c
src/tool_libinfo.c

index f045e5aefdde1000b9fc2071222dc79ed4b65d77..e68d0f4fff9fee1fcb7a2bc1ce8f8925a3ef7243 100644 (file)
--- 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;
 
index 1fc2996be481e35e1900f5662b805f9b46f826a9..21b8da97033f3ec71933f6a27a519576669a313e 100644 (file)
@@ -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) {