diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-19 20:52:47 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-19 20:52:47 +0000 |
commit | e5595d4f911a74b566929394fafe47b5dbe71a28 (patch) | |
tree | 305765164ffbd357c4230b3e70dbbabd0ce33baa /fetchmail.c | |
parent | a910746d015dc74aa702eaffe13e98a496e0a1cc (diff) | |
download | fetchmail-e5595d4f911a74b566929394fafe47b5dbe71a28.tar.gz fetchmail-e5595d4f911a74b566929394fafe47b5dbe71a28.tar.bz2 fetchmail-e5595d4f911a74b566929394fafe47b5dbe71a28.zip |
Abstract out the needs-password check.
svn path=/trunk/; revision=3123
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 6e1d6756..1a9671b3 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1558,7 +1558,7 @@ static void dump_params (struct runctl *runp, if (ctl->server.skip || outlevel >= O_VERBOSE) printf(_(" This host %s be queried when no host is specified.\n"), ctl->server.skip ? _("will not") : _("will")); - if (ctl->server.authenticate <= A_PASSWORD && ctl->server.protocol < P_ETRN) + if (!NO_PASSWORD(ctl)) { if (!ctl->password) printf(_(" Password will be prompted for.\n")); |