mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:23:31 +03:00
parent
080973dcdb
commit
cd2b45201a
32 changed files with 68 additions and 75 deletions
|
|
@ -1100,12 +1100,11 @@ static CURLcode smtp_state_rcpt_resp(struct Curl_easy *data,
|
|||
|
||||
(void)instate; /* no use for this yet */
|
||||
|
||||
is_smtp_err = (smtpcode/100 != 2) ? TRUE : FALSE;
|
||||
is_smtp_err = (smtpcode/100 != 2);
|
||||
|
||||
/* If there is multiple RCPT TO to be issued, it is possible to ignore errors
|
||||
and proceed with only the valid addresses. */
|
||||
is_smtp_blocking_err =
|
||||
(is_smtp_err && !data->set.mail_rcpt_allowfails) ? TRUE : FALSE;
|
||||
is_smtp_blocking_err = (is_smtp_err && !data->set.mail_rcpt_allowfails);
|
||||
|
||||
if(is_smtp_err) {
|
||||
/* Remembering the last failure which we can report if all "RCPT TO" have
|
||||
|
|
@ -1296,7 +1295,7 @@ static CURLcode smtp_multi_statemach(struct Curl_easy *data, bool *done)
|
|||
}
|
||||
|
||||
result = Curl_pp_statemach(data, &smtpc->pp, FALSE, FALSE);
|
||||
*done = (smtpc->state == SMTP_STOP) ? TRUE : FALSE;
|
||||
*done = (smtpc->state == SMTP_STOP);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue