mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
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 */
|
/* We are only interested in the SASL line */
|
||||||
if(len < 4 || memcmp(line, "SASL", 3)) {
|
if(len < 4 || memcmp(line, "SASL", 4)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user