imap: Fixed incorrect comparison for STARTTLS in imap_endofresp()

Corrected the comparison type in addition to commit 1dac29fa83.
This commit is contained in:
Steve Holme 2013-02-25 09:43:23 +00:00
parent 94336d3c1e
commit e63c33d88d
1 changed files with 1 additions and 1 deletions

View File

@ -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? */