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
1 changed files with 1 additions and 1 deletions

View File

@ -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