aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 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))