mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:23:36 +03:00
code: language cleanup in comments
Based on the standards and guidelines we use for our documentation. - expand contractions (they're => they are etc) - host name = > hostname - file name => filename - user name = username - man page => manpage - run-time => runtime - set-up => setup - back-end => backend - a HTTP => an HTTP - Two spaces after a period => one space after period Closes #14073
This commit is contained in:
parent
9b683577e1
commit
c074ba64a8
213 changed files with 1719 additions and 1715 deletions
|
|
@ -80,7 +80,7 @@ static int multiply(curl_off_t *amount, curl_off_t with)
|
|||
#else
|
||||
sum = *amount * with;
|
||||
if(sum/with != *amount)
|
||||
return 1; /* didn't fit, bail out */
|
||||
return 1; /* did not fit, bail out */
|
||||
#endif
|
||||
}
|
||||
*amount = sum;
|
||||
|
|
@ -123,7 +123,7 @@ static CURLcode glob_set(struct URLGlob *glob, char **patternp,
|
|||
return GLOBERROR("empty string within braces", *posp,
|
||||
CURLE_URL_MALFORMAT);
|
||||
|
||||
/* add 1 to size since it'll be incremented below */
|
||||
/* add 1 to size since it will be incremented below */
|
||||
if(multiply(amount, pat->content.Set.size + 1))
|
||||
return GLOBERROR("range overflow", 0, CURLE_URL_MALFORMAT);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue