aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-06-09 11:08:08 +0100
committerSteve Holme <steve_holme@hotmail.com>2012-06-09 11:08:08 +0100
commit6478e1d7e5cf9a03a24f1d34eb92d4a4aad01f24 (patch)
treee1d0f7e97d81c7e540ddd8402b29b9d4fb16b38b
parenta884ffe43027e837e9fef41626c34e7f00bb2df1 (diff)
pop3.c: Fixed length of SASL check
-rw-r--r--lib/pop3.c2
1 files changed, 1 insertions, 1 deletions
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;
}