From f32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 30 Jun 1998 03:10:44 +0000 Subject: Fix to OPIE code. svn path=/trunk/; revision=1949 --- imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index 2a831454..412e1dc8 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_opts.poll_interval == -1)) { + if ((rval == -2) && !run.poll_interval) { char secret[OPIE_SECRET_MAX+1]; fprintf(stderr, "Secret pass phrase: "); if (opiereadpass(secret, sizeof(secret), 0)) -- cgit v1.2.3