gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 43/173: smtp: Fix STARTTLS denied error message


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 43/173: smtp: Fix STARTTLS denied error message
Date: Fri, 24 Feb 2017 14:01:05 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit 4e6f483d08646eb7179344509a660a01a904d4f9
Author: Jay Satiro <address@hidden>
AuthorDate: Thu Jan 12 02:06:03 2017 -0500

    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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]