From e5595d4f911a74b566929394fafe47b5dbe71a28 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 19 Feb 2001 20:52:47 +0000 Subject: Abstract out the needs-password check. svn path=/trunk/; revision=3123 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); -- cgit v1.2.3