mirror of https://github.com/moparisthebest/curl
pop3.c: Fixed length of SASL check
This commit is contained in:
parent
a884ffe430
commit
6478e1d7e5
|
@ -240,7 +240,7 @@ static int pop3_endofresp(struct pingpong *pp, int *resp)
|
|||
}
|
||||
|
||||
/* We are only interested in the SASL line */
|
||||
if(len < 4 || memcmp(line, "SASL", 3)) {
|
||||
if(len < 4 || memcmp(line, "SASL", 4)) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue