mirror of
https://github.com/curl/curl.git
synced 2026-04-22 19:32:13 +03:00
imap.c: Fixed an incorrect variable reference
Fixed an incorrect variable reference which was introduced in commit
a1701eea28 as a result of a copy and paste from SMTP/POP3.
This commit is contained in:
parent
cd65ecb2e8
commit
1dac29fa83
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len,
|
|||
wordlen++;
|
||||
|
||||
/* Does the server support the STARTTLS capability? */
|
||||
if(len >= 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