misc: fix spelling in two source files

Closes #9529
This commit is contained in:
John Bampton 2022-09-18 05:48:43 +10:00 committed by Daniel Stenberg
parent 6de7322c03
commit a46e412464
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ CURLcode Curl_ws_accept(struct Curl_easy *data)
if(result) if(result)
return 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]); ws->ws.mask[0], ws->ws.mask[1], ws->ws.mask[2], ws->ws.mask[3]);
k->upgr101 = UPGR101_RECEIVED; k->upgr101 = UPGR101_RECEIVED;

View File

@ -114,7 +114,7 @@ const char *protocol2scheme(proto_t proto)
return proto < proto_last? built_in_protos[proto]: NULL; 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) static CURLcode enter_proto(const char *proto)
{ {
if(scheme2protocol(proto) == PROTO_NONE) { if(scheme2protocol(proto) == PROTO_NONE) {