mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:13:34 +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
|
|
@ -51,7 +51,7 @@ void Curl_dyn_init(struct dynbuf *s, size_t toobig)
|
|||
}
|
||||
|
||||
/*
|
||||
* free the buffer and re-init the necessary fields. It doesn't touch the
|
||||
* free the buffer and re-init the necessary fields. It does not touch the
|
||||
* 'init' field and thus this buffer can be reused to add data to again.
|
||||
*/
|
||||
void Curl_dyn_free(struct dynbuf *s)
|
||||
|
|
@ -71,7 +71,7 @@ static CURLcode dyn_nappend(struct dynbuf *s,
|
|||
size_t a = s->allc;
|
||||
size_t fit = len + indx + 1; /* new string + old string + zero byte */
|
||||
|
||||
/* try to detect if there's rubbish in the struct */
|
||||
/* try to detect if there is rubbish in the struct */
|
||||
DEBUGASSERT(s->init == DYNINIT);
|
||||
DEBUGASSERT(s->toobig);
|
||||
DEBUGASSERT(indx < s->toobig);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue