mirror of
https://github.com/curl/curl.git
synced 2026-07-26 09:27:21 +03:00
pop3.c: Fixed length of SASL check
This commit is contained in:
parent
a884ffe430
commit
6478e1d7e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue