aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-30 03:10:44 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-30 03:10:44 +0000
commitf32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f (patch)
tree02947d8d5dab0fe6d144708991c9d13f5e20961e /pop3.c
parent98344ba30d71ee55b466c2d90566cbf67177f0c1 (diff)
downloadfetchmail-f32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f.tar.gz
fetchmail-f32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f.tar.bz2
fetchmail-f32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f.zip
Fix to OPIE code.
svn path=/trunk/; revision=1949
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 fcb1c1fe..f13386d8 100644
--- a/pop3.c
+++ b/pop3.c
@@ -153,7 +153,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting)
int i;
i = opiegenerator(challenge, !strcmp(ctl->password, "opie") ? "" : ctl->password, response);
- if ((i == -2) && (cmd_opts.poll_interval == -1)) {
+ if ((i == -2) && !run.poll_interval) {
char secret[OPIE_SECRET_MAX+1];
fprintf(stderr, "Secret pass phrase: ");
if (opiereadpass(secret, sizeof(secret), 0))