From 4e6f483d08646eb7179344509a660a01a904d4f9 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Thu, 12 Jan 2017 02:06:03 -0500 Subject: [PATCH] smtp: Fix STARTTLS denied error message - Format the numeric denial code as an integer instead of a character. --- lib/smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/smtp.c b/lib/smtp.c index ff8e80d68..bc9ccdf19 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -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