mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05: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
@ -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…
Reference in New Issue
Block a user