mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:03:43 +03:00
lib: fix formatting nits (part 3)
From `lib/h` to `lib/w`. part 1:47a1ab2ebe#19764 part 2:86b346443b#19800 Closes #19811
This commit is contained in:
parent
dc8c0d54a5
commit
c3b030b860
102 changed files with 2001 additions and 2226 deletions
|
|
@ -357,7 +357,6 @@ static CURLcode httpchunk_readwrite(struct Curl_easy *data,
|
|||
case CHUNK_FAILED:
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
|
||||
}
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
@ -528,8 +527,7 @@ static CURLcode add_last_chunk(struct Curl_easy *data,
|
|||
continue;
|
||||
}
|
||||
|
||||
result = Curl_bufq_cwrite(&ctx->chunkbuf, tr->data,
|
||||
strlen(tr->data), &n);
|
||||
result = Curl_bufq_cwrite(&ctx->chunkbuf, tr->data, strlen(tr->data), &n);
|
||||
if(!result)
|
||||
result = Curl_bufq_cwrite(&ctx->chunkbuf, STRCONST("\r\n"), &n);
|
||||
if(result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue