lib: fix typos in comments

Closes #21385
This commit is contained in:
Daniel Stenberg 2026-04-20 14:36:58 +02:00
parent d087a7e4ec
commit db13c08c58
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ void Curl_ssl_scache_lock(struct Curl_easy *data);
/* Unlock session cache mutex */
void Curl_ssl_scache_unlock(struct Curl_easy *data);
/* Get TLS session object from the cache for the ssl_peer_ey.
/* Get TLS session object from the cache for the ssl_peer_key.
* scache mutex must be locked (see Curl_ssl_scache_lock).
* Caller must make sure that the ownership of returned session object
* is properly taken (e.g. its refcount is incremented

View file

@ -116,8 +116,8 @@ struct ws_cntrl_frame {
* and keep track of boundaries. */
struct websocket {
struct Curl_easy *data; /* used for write callback handling */
struct ws_decoder dec; /* decode of we frames */
struct ws_encoder enc; /* decode of we frames */
struct ws_decoder dec; /* decode of ws frames */
struct ws_encoder enc; /* decode of ws frames */
struct bufq recvbuf; /* raw data from the server */
struct bufq sendbuf; /* raw data to be sent to the server */
struct curl_ws_frame recvframe; /* the current WS FRAME received */
@ -1409,7 +1409,7 @@ CURLcode Curl_ws_accept(struct Curl_easy *data,
goto out;
if(!data->set.ws_raw_mode) {
/* Add our client readerr encoding WS BINARY frames */
/* Add our client reader encoding WS BINARY frames */
result = Curl_creader_create(&ws_enc_reader, data, &ws_cr_encode,
CURL_CR_CONTENT_ENCODE);
if(result)