mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08: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 */
|
||||
if(len < 4 || memcmp(line, "SASL", 3)) {
|
||||
if(len < 4 || memcmp(line, "SASL", 4)) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user