aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pop2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop2.c b/pop2.c
index 6d3980f9..03d58a18 100644
--- a/pop2.c
+++ b/pop2.c
@@ -68,7 +68,7 @@ static int pop2_getauth(int sock, struct query *ctl, char *buf)
return PS_SOCKET;
}
- if (ctl->server.authentication != A_ANY && ctl->server.authentication != A_PASSWORD)
+ if (ctl->server.authenticate != A_ANY && ctl->server.authenticate != A_PASSWORD)
{
report(stderr, GT_("POP2 only supports password authentication. Giving up.\n"));
return PS_AUTHFAIL;