]> Pileus Git - ~andy/fetchmail/commitdiff
Re-enable OPIE build.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 8 Jun 1998 20:04:55 +0000 (20:04 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 8 Jun 1998 20:04:55 +0000 (20:04 -0000)
svn path=/trunk/; revision=1934

imap.c
pop3.c

diff --git a/imap.c b/imap.c
index 00efacba1685564a0e4ffc4b6b0a8192e4fb10a5..2a8314540a2310da2f3ff671a9b6501c7efb6432 100644 (file)
--- 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 ae0d51a05716b30f9a94fb809af91d356cc2867e..fcb1c1fea114732fe9e81188e0a573d8cabee5a9 100644 (file)
--- 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))