diff --git a/lib/pop3.c b/lib/pop3.c index 02d6e7aeb..a166208db 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -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; }