pop3.c: Fixed length of SASL check

This commit is contained in:
Steve Holme 2012-06-09 11:08:08 +01:00
parent a884ffe430
commit 6478e1d7e5

View File

@ -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;
}