Commit 1dac29fa authored by Steve Holme's avatar Steve Holme
Browse files

imap.c: Fixed an incorrect variable reference

Fixed an incorrect variable reference which was introduced in commit
a1701eea as a result of a copy and paste from SMTP/POP3.
parent cd65ecb2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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? */