aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
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;