mirror of
https://github.com/curl/curl.git
synced 2026-07-23 06:57:17 +03:00
imap: Fixed incorrect comparison for STARTTLS in imap_endofresp()
Corrected the comparison type in addition to commit 1dac29fa83.
This commit is contained in:
parent
94336d3c1e
commit
e63c33d88d
1 changed files with 1 additions and 1 deletions
|
|
@ -380,7 +380,7 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len,
|
|||
wordlen++;
|
||||
|
||||
/* Does the server support the STARTTLS capability? */
|
||||
if(wordlen >= 8 && !memcmp(line, "STARTTLS", 8))
|
||||
if(wordlen == 8 && !memcmp(line, "STARTTLS", 8))
|
||||
imapc->tls_supported = TRUE;
|
||||
|
||||
/* Has the server explicitly disabled clear text authentication? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue