diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2017-01-12 02:06:03 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-01-12 02:06:03 -0500 |
commit | 4e6f483d08646eb7179344509a660a01a904d4f9 (patch) | |
tree | 11cd3f1a86aa6990e97932c3248abf7823d6b846 /lib | |
parent | c6778aa46a8e8d27b40692a89f1d3be0e2614abb (diff) |
smtp: Fix STARTTLS denied error message
- Format the numeric denial code as an integer instead of a character.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |