diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-06-30 03:10:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-06-30 03:10:44 +0000 |
commit | f32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f (patch) | |
tree | 02947d8d5dab0fe6d144708991c9d13f5e20961e | |
parent | 98344ba30d71ee55b466c2d90566cbf67177f0c1 (diff) | |
download | fetchmail-f32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f.tar.gz fetchmail-f32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f.tar.bz2 fetchmail-f32ec4b1c89f1d0ce9a34710ffcf8c1c1fdb2b8f.zip |
Fix to OPIE code.
svn path=/trunk/; revision=1949
-rw-r--r-- | imap.c | 2 | ||||
-rw-r--r-- | pop3.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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)) @@ -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)) |