mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:43:33 +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
|
|
@ -315,7 +315,7 @@ static CURLcode cr_eob_init(struct Curl_easy *data,
|
|||
struct cr_eob_ctx *ctx = reader->ctx;
|
||||
(void)data;
|
||||
/* The first char we read is the first on a line, as if we had
|
||||
* read CRLF just before */
|
||||
* read CRLF before */
|
||||
ctx->n_eob = 2;
|
||||
Curl_bufq_init2(&ctx->buf, (16 * 1024), 1, BUFQ_OPT_SOFT_LIMIT);
|
||||
return CURLE_OK;
|
||||
|
|
@ -354,7 +354,7 @@ static CURLcode cr_eob_read(struct Curl_easy *data,
|
|||
ctx->read_eos = eos;
|
||||
if(nread) {
|
||||
if(!ctx->n_eob && !memchr(buf, SMTP_EOB[0], nread)) {
|
||||
/* not in the middle of a match, no EOB start found, just pass */
|
||||
/* not in the middle of a match, no EOB start found, pass */
|
||||
*pnread = nread;
|
||||
*peos = FALSE;
|
||||
return CURLE_OK;
|
||||
|
|
@ -403,7 +403,7 @@ static CURLcode cr_eob_read(struct Curl_easy *data,
|
|||
CURL_TRC_SMTP(data, "auto-ending mail body with '\\r\\n.\\r\\n'");
|
||||
switch(ctx->n_eob) {
|
||||
case 2:
|
||||
/* seen a CRLF at the end, just add the remainder */
|
||||
/* seen a CRLF at the end, add the remainder */
|
||||
eob = &SMTP_EOB[2];
|
||||
break;
|
||||
case 3:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue