diff --git a/lib/vtls/vtls_scache.h b/lib/vtls/vtls_scache.h index 181c2ec333..ed9ce0a501 100644 --- a/lib/vtls/vtls_scache.h +++ b/lib/vtls/vtls_scache.h @@ -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 diff --git a/lib/ws.c b/lib/ws.c index 7688803953..ba223f4e8e 100644 --- a/lib/ws.c +++ b/lib/ws.c @@ -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)