From 3bd99f28cac40e06c52d55b6f883f305d437ccec Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 18 Feb 2001 17:23:20 +0000 Subject: Fixed brown-paper-bag password bug (only showed up if it was necessary to prompt). svn path=/trunk/; revision=3114 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 52257dbd..7b5efbf9 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -324,7 +324,7 @@ int main(int argc, char **argv) { if (ctl->active && !(implicitmode && ctl->server.skip)&&!ctl->password) { - if (ctl->server.preauthenticate > A_PASSWORD || ctl->server.protocol < P_ETRN) + if (ctl->server.preauthenticate > A_PASSWORD || ctl->server.protocol >= P_ETRN) /* Server won't care what the password is, but there must be some non-null string here. */ ctl->password = ctl->remotename; -- cgit v1.2.3