mirror of
https://github.com/curl/curl.git
synced 2026-07-08 08:57:17 +03:00
smtp: Fix STARTTLS denied error message
- Format the numeric denial code as an integer instead of a character.
This commit is contained in:
parent
c6778aa46a
commit
4e6f483d08
1 changed files with 1 additions and 1 deletions
|
|
@ -692,7 +692,7 @@ static CURLcode smtp_state_starttls_resp(struct connectdata *conn,
|
|||
|
||||
if(smtpcode != 220) {
|
||||
if(data->set.use_ssl != CURLUSESSL_TRY) {
|
||||
failf(data, "STARTTLS denied. %c", smtpcode);
|
||||
failf(data, "STARTTLS denied, code %d", smtpcode);
|
||||
result = CURLE_USE_SSL_FAILED;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue