aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-08 20:04:55 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-08 20:04:55 +0000
commit9a943e1bf3ded13beb5582b48ef99709a4e61179 (patch)
tree2a185e3514c74169e09e7669a43c8760a3cb5e7e
parentce777d6426bf651d70281937c5b08dc528c44b89 (diff)
downloadfetchmail-9a943e1bf3ded13beb5582b48ef99709a4e61179.tar.gz
fetchmail-9a943e1bf3ded13beb5582b48ef99709a4e61179.tar.bz2
fetchmail-9a943e1bf3ded13beb5582b48ef99709a4e61179.zip
Re-enable OPIE build.
svn path=/trunk/; revision=1934
-rw-r--r--imap.c2
-rw-r--r--pop3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/imap.c b/imap.c
index 00efacba..2a831454 100644
--- a/imap.c
+++ b/imap.c
@@ -155,7 +155,7 @@ static int do_otp(int sock, struct query *ctl)
};
rval = opiegenerator(challenge, !strcmp(ctl->password, "opie") ? "" : ctl->password, response);
- if ((rval == -2) && (cmd_daemon == -1)) {
+ if ((rval == -2) && (cmd_opts.poll_interval == -1)) {
char secret[OPIE_SECRET_MAX+1];
fprintf(stderr, "Secret pass phrase: ");
if (opiereadpass(secret, sizeof(secret), 0))
diff --git a/pop3.c b/pop3.c
index ae0d51a0..fcb1c1fe 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_daemon == -1)) {
+ if ((i == -2) && (cmd_opts.poll_interval == -1)) {
char secret[OPIE_SECRET_MAX+1];
fprintf(stderr, "Secret pass phrase: ");
if (opiereadpass(secret, sizeof(secret), 0))