summaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2017-01-12 02:22:41 -0500
committerJay Satiro <raysatiro@yahoo.com>2017-01-12 02:36:03 -0500
commita18db792624a677221d895f4662a06b5016e4eee (patch)
tree0604d27bdd0d76b7731f25f135c144238db4bebf /lib/pop3.c
parent4e6f483d08646eb7179344509a660a01a904d4f9 (diff)
downloadgnurl-a18db792624a677221d895f4662a06b5016e4eee.tar.gz
gnurl-a18db792624a677221d895f4662a06b5016e4eee.tar.bz2
gnurl-a18db792624a677221d895f4662a06b5016e4eee.zip
STARTTLS: Don't print response character in denied messages
Both IMAP and POP3 response characters are used internally, but when appended to the STARTTLS denial message likely could confuse the user. Closes https://github.com/curl/curl/pull/1203
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 9bb691c9b..433421a7b 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -799,7 +799,7 @@ static CURLcode pop3_state_starttls_resp(struct connectdata *conn,
if(pop3code != '+') {
if(data->set.use_ssl != CURLUSESSL_TRY) {
- failf(data, "STARTTLS denied. %c", pop3code);
+ failf(data, "STARTTLS denied");
result = CURLE_USE_SSL_FAILED;
}
else