aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-03-17 22:35:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-04-05 13:38:31 +0200
commite7837bfd03c117aa8d4f0a1c5018e2d08119c4af (patch)
treef6fbd2e55f328d3dcb3e8d8ce868f690a14f640c
parente71642003c12962b56be13193034dd5ed2350e8c (diff)
[pop3 starttls] the command to send is STLS, not STARTTLS.
-rw-r--r--lib/pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index a7657171c..ba13e7d6b 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -517,7 +517,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
if(data->set.ftp_ssl && !conn->ssl[FIRSTSOCKET].use) {
/* We don't have a SSL/TLS connection yet, but SSL is requested. Switch
to TLS connection now */
- result = Curl_pp_sendf(&pop3c->pp, "STARTTLS", NULL);
+ result = Curl_pp_sendf(&pop3c->pp, "STLS");
state(conn, POP3_STARTTLS);
}
else