mirror of
https://github.com/curl/curl.git
synced 2026-08-05 03:56:12 +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
|
|
@ -114,7 +114,7 @@ CURLHcode curl_easy_header(CURL *easy,
|
|||
break;
|
||||
}
|
||||
}
|
||||
if(!e) /* this shouldn't happen */
|
||||
if(!e) /* this should not happen */
|
||||
return CURLHE_MISSING;
|
||||
}
|
||||
/* this is the name we want */
|
||||
|
|
@ -302,7 +302,7 @@ CURLcode Curl_headers_push(struct Curl_easy *data, const char *header,
|
|||
/* line folding, append value to the previous header's value */
|
||||
return unfold_value(data, header, hlen);
|
||||
else {
|
||||
/* Can't unfold without a previous header. Instead of erroring, just
|
||||
/* cannot unfold without a previous header. Instead of erroring, just
|
||||
pass the leading blanks. */
|
||||
while(hlen && ISBLANK(*header)) {
|
||||
header++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue