From df80d21fdc13f93d9f5cc39a3525dd8698988a83 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 13 Jul 1998 16:38:47 +0000 Subject: Cleanup and bug fixes. svn path=/trunk/; revision=1966 --- pop3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop3.c') 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; -- cgit v1.2.3