mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:13:34 +03:00
stop using the word 'just'
Everywhere. In documentation and code comments. It is almost never a good word and almost always a filler that should be avoided. Closes #20793
This commit is contained in:
parent
4b583b7585
commit
b4dba346cd
213 changed files with 727 additions and 772 deletions
18
lib/url.c
18
lib/url.c
|
|
@ -125,9 +125,9 @@ static void data_priority_cleanup(struct Curl_easy *data);
|
|||
#define data_priority_cleanup(x)
|
||||
#endif
|
||||
|
||||
/* Some parts of the code (e.g. chunked encoding) assume this buffer has at
|
||||
* more than just a few bytes to play with. Do not let it become too small or
|
||||
* bad things will happen.
|
||||
/* Some parts of the code (e.g. chunked encoding) assume this buffer has more
|
||||
* than a few bytes to play with. Do not let it become too small or bad things
|
||||
* will happen.
|
||||
*/
|
||||
#if READBUFFER_SIZE < READBUFFER_MIN
|
||||
# error READBUFFER_SIZE is too small
|
||||
|
|
@ -254,7 +254,7 @@ CURLcode Curl_close(struct Curl_easy **datap)
|
|||
* handle might check the magic and so might any
|
||||
* DEBUGFUNCTION invoked for tracing */
|
||||
|
||||
/* freed here just in case DONE was not called */
|
||||
/* freed here in case DONE was not called */
|
||||
Curl_req_free(&data->req, data);
|
||||
|
||||
/* Close down all open SSL info and sessions */
|
||||
|
|
@ -617,7 +617,7 @@ static bool socks_proxy_info_matches(const struct proxy_info *data,
|
|||
#endif
|
||||
|
||||
/* A connection has to have been idle for less than 'conn_max_idle_ms'
|
||||
(the success rate is just too low after this), or created less than
|
||||
(the success rate is too low after this), or created less than
|
||||
'conn_max_age_ms' ago, to be subject for reuse. */
|
||||
static bool conn_maxage(struct Curl_easy *data,
|
||||
struct connectdata *conn,
|
||||
|
|
@ -1411,7 +1411,7 @@ static struct connectdata *allocate_conn(struct Curl_easy *data)
|
|||
conn->http_proxy.proxytype = data->set.proxytype;
|
||||
conn->socks_proxy.proxytype = CURLPROXY_SOCKS4;
|
||||
|
||||
/* note that these two proxy bits are now just on what looks to be
|
||||
/* note that these two proxy bits are set on what looks to be
|
||||
requested, they may be altered down the road */
|
||||
conn->bits.proxy = (data->set.str[STRING_PROXY] &&
|
||||
*data->set.str[STRING_PROXY]);
|
||||
|
|
@ -3071,9 +3071,9 @@ static CURLcode resolve_unix(struct Curl_easy *data,
|
|||
DEBUGASSERT(unix_path);
|
||||
*pdns = NULL;
|
||||
|
||||
/* Unix domain sockets are local. The host gets ignored, just use the
|
||||
* specified domain socket address. Do not cache "DNS entries". There is
|
||||
* no DNS involved and we already have the file system path available. */
|
||||
/* Unix domain sockets are local. The host gets ignored, use the specified
|
||||
* domain socket address. Do not cache "DNS entries". There is no DNS
|
||||
* involved and we already have the file system path available. */
|
||||
hostaddr = curlx_calloc(1, sizeof(struct Curl_dns_entry));
|
||||
if(!hostaddr)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue