diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-18 17:23:20 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-18 17:23:20 +0000 |
commit | 3bd99f28cac40e06c52d55b6f883f305d437ccec (patch) | |
tree | 6f0d5358c570ff71d97e7e3b81de989ae221eb06 /fetchmail.c | |
parent | f64e2046a7ad602e901fd2377f41915a053419db (diff) | |
download | fetchmail-3bd99f28cac40e06c52d55b6f883f305d437ccec.tar.gz fetchmail-3bd99f28cac40e06c52d55b6f883f305d437ccec.tar.bz2 fetchmail-3bd99f28cac40e06c52d55b6f883f305d437ccec.zip |
Fixed brown-paper-bag password bug (only showed up if it was necessary
to prompt).
svn path=/trunk/; revision=3114
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 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; |