1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

[pop3 starttls] the command to send is STLS, not STARTTLS.

This commit is contained in:
Ben Noordhuis 2011-03-17 22:35:18 +01:00 committed by Daniel Stenberg
parent e71642003c
commit e7837bfd03

View File

@ -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