mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:13:33 +03:00
tidy-up: miscellaneous
- INSTALL-CMAKE.md: add missing periods, text fixes. - md4, md5: sync variables names. - curl_trc: sync an argument type. - docs/examples: sync debug/trace function copies, constify, tidy-ups. - replace commented code with `#if 0`. - drop redundant parenthesis (macro values, `return`, around single variables, function calls). - fix indentation, apply clang-format in places. Closes #20481
This commit is contained in:
parent
ca5efd02b6
commit
3003c32cb2
62 changed files with 291 additions and 281 deletions
|
|
@ -565,7 +565,7 @@ static CURLcode imap_perform_upgrade_tls(struct Curl_easy *data,
|
|||
DEBUGASSERT(!imapc->ssldone);
|
||||
result = Curl_conn_connect(data, FIRSTSOCKET, FALSE, &ssldone);
|
||||
DEBUGF(infof(data, "imap_perform_upgrade_tls, connect -> %d, %d",
|
||||
result, ssldone));
|
||||
result, ssldone));
|
||||
if(!result && ssldone) {
|
||||
imapc->ssldone = ssldone;
|
||||
/* perform CAPA now, changes imapc->state out of IMAP_UPGRADETLS */
|
||||
|
|
@ -866,6 +866,7 @@ static CURLcode imap_perform_append(struct Curl_easy *data,
|
|||
/* Prepare the mime data if some. */
|
||||
if(IS_MIME_POST(data)) {
|
||||
curl_mimepart *postp = data->set.mimepostp;
|
||||
|
||||
/* Use the whole structure as data. */
|
||||
postp->flags &= ~(unsigned int)MIME_BODY_ONLY;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue