Commit 4e6f483d authored by Jay Satiro's avatar Jay Satiro
Browse files

smtp: Fix STARTTLS denied error message

- Format the numeric denial code as an integer instead of a character.
parent c6778aa4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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