mirror of
https://github.com/curl/curl.git
synced 2026-05-16 22:46:21 +03:00
lib: fix comment typos
Five separate ones, found by codespell Closes #12390
This commit is contained in:
parent
323df4261c
commit
0510e8b58c
5 changed files with 5 additions and 5 deletions
|
|
@ -382,7 +382,7 @@ bool Curl_conn_data_pending(struct Curl_easy *data,
|
|||
curl_socket_t Curl_conn_get_socket(struct Curl_easy *data, int sockindex);
|
||||
|
||||
/**
|
||||
* Tell filters to forget about the soket at sockindex.
|
||||
* Tell filters to forget about the socket at sockindex.
|
||||
*/
|
||||
void Curl_conn_forget_socket(struct Curl_easy *data, int sockindex);
|
||||
|
||||
|
|
|
|||
|
|
@ -1424,7 +1424,7 @@ CURLcode Curl_buffer_send(struct dynbuf *in,
|
|||
* and install our own `data->state.fread_func` that
|
||||
* on subsequent calls reads `in` empty.
|
||||
* - when the whisked away `in` is empty, the `fread_func`
|
||||
* is restored ot its original state.
|
||||
* is restored to its original state.
|
||||
* The problem is that `fread_func` can only return
|
||||
* `upload_buffer_size` lengths. If the send we do here
|
||||
* is larger and blocks, we do re-sending with smaller
|
||||
|
|
|
|||
|
|
@ -781,7 +781,7 @@ static CURLcode rtsp_rtp_readwrite(struct Curl_easy *data,
|
|||
goto out;
|
||||
}
|
||||
|
||||
/* If header parsing is not onging, extract RTP messsages */
|
||||
/* If header parsing is not onging, extract RTP messages */
|
||||
if(!rtspc->in_header) {
|
||||
result = rtsp_filter_rtp(data, conn, buf, blen, in_body, &consumed);
|
||||
if(result)
|
||||
|
|
|
|||
|
|
@ -405,7 +405,7 @@ CONNECT_REQ_INIT:
|
|||
if(plen > 255) {
|
||||
/* there is no real size limit to this field in the protocol, but
|
||||
SOCKS5 limits the proxy user field to 255 bytes and it seems likely
|
||||
that a longer field is either a mistake or malicous input */
|
||||
that a longer field is either a mistake or malicious input */
|
||||
failf(data, "Too long SOCKS proxy user name");
|
||||
return CURLPX_LONG_USER;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ struct per_transfer {
|
|||
|
||||
/* NULL or malloced */
|
||||
char *uploadfile;
|
||||
char *errorbuffer; /* alloced and assigned while this is used for a
|
||||
char *errorbuffer; /* allocated and assigned while this is used for a
|
||||
transfer */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue