aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 4ad5bdf2..21432bcd 100644
--- a/pop3.c
+++ b/pop3.c
@@ -67,7 +67,7 @@ int pop3_ok (int sock, char *argbuf)
#endif /* OPIE */
ok = 0;
}
- else if (strcmp(buf,"-ERR") == 0)
+ else if (strncmp(buf,"-ERR", 4) == 0)
{
if (phase > PHASE_GETAUTH)
ok = PS_PROTOCOL;