X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=pop2.c;h=03d58a18f92334be44b0c57bd5774e1cf6893d18;hb=5b0e1fdef9c55b9c8a54f5c146fc84dab3b82e63;hp=6d3980f9af658f42432cb7132dc6d6a0fe3c258d;hpb=15b7f3bc60c50d1b13430c2e51b52275fffc4cc9;p=~andy%2Ffetchmail 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;