imap: Fixed incorrect comparison for STARTTLS in imap_endofresp()
Corrected the comparison type in addition to commit 1dac29fa83a9.
This commit is contained in:
parent
94336d3c1e
commit
e63c33d88d
@ -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…
x
Reference in New Issue
Block a user