mirror of
https://github.com/curl/curl.git
synced 2026-07-29 07:03:07 +03:00
docs: misc language polish
- CURLINFO_FILETIME*: improve language - add '32bit' and '64bit' as bad words, use 32-bit and 64-bit - mksymbolsmanpage.pl: avoid "will" Closes #14070
This commit is contained in:
parent
ecd654e12e
commit
816ac2a866
22 changed files with 65 additions and 63 deletions
|
|
@ -3406,8 +3406,8 @@ static CURLMcode multi_timeout(struct Curl_multi *multi,
|
|||
if(Curl_splaycomparekeys(multi->timetree->key, now) > 0) {
|
||||
/* some time left before expiration */
|
||||
timediff_t diff = Curl_timediff_ceil(multi->timetree->key, now);
|
||||
/* this should be safe even on 32 bit archs, as we don't use that
|
||||
overly long timeouts */
|
||||
/* this should be safe even on 32-bit archs, as we don't use that overly
|
||||
long timeouts */
|
||||
*timeout_ms = (long)diff;
|
||||
}
|
||||
else
|
||||
|
|
@ -3572,7 +3572,7 @@ void Curl_expire(struct Curl_easy *data, timediff_t milli, expire_id id)
|
|||
DEBUGASSERT(id < EXPIRE_LAST);
|
||||
|
||||
set = Curl_now();
|
||||
set.tv_sec += (time_t)(milli/1000); /* might be a 64 to 32 bit conversion */
|
||||
set.tv_sec += (time_t)(milli/1000); /* might be a 64 to 32 bits conversion */
|
||||
set.tv_usec += (int)(milli%1000)*1000;
|
||||
|
||||
if(set.tv_usec >= 1000000) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue