aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-07-13 16:38:47 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-07-13 16:38:47 +0000
commitdf80d21fdc13f93d9f5cc39a3525dd8698988a83 (patch)
treec04532b853136f662277b22ae466d9d5808f8de5 /pop3.c
parent5cd412bf21436d6d2298771e38838bdb125bac26 (diff)
downloadfetchmail-df80d21fdc13f93d9f5cc39a3525dd8698988a83.tar.gz
fetchmail-df80d21fdc13f93d9f5cc39a3525dd8698988a83.tar.bz2
fetchmail-df80d21fdc13f93d9f5cc39a3525dd8698988a83.zip
Cleanup and bug fixes.
svn path=/trunk/; revision=1966
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;