1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58: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:
Jay Satiro 2017-01-12 02:06:03 -05:00
parent c6778aa46a
commit 4e6f483d08

View File

@ -692,7 +692,7 @@ static CURLcode smtp_state_starttls_resp(struct connectdata *conn,
if(smtpcode != 220) { if(smtpcode != 220) {
if(data->set.use_ssl != CURLUSESSL_TRY) { 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; result = CURLE_USE_SSL_FAILED;
} }
else else