aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-16 01:43:34 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-16 01:43:34 +0000
commit884bdcb12adcb121e6e73e535526d6e49ca9377e (patch)
tree08255ad7620cd33151e330bb7cd7b0c38ef304f2 /pop3.c
parente9407cdc2088d14b34ff5fd5c1f3fc27b4f9960c (diff)
downloadfetchmail-884bdcb12adcb121e6e73e535526d6e49ca9377e.tar.gz
fetchmail-884bdcb12adcb121e6e73e535526d6e49ca9377e.tar.bz2
fetchmail-884bdcb12adcb121e6e73e535526d6e49ca9377e.zip
Resolved Chip Salzenberg's bug.
svn path=/trunk/; revision=3111
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 79026af3..8815d11b 100644
--- a/pop3.c
+++ b/pop3.c
@@ -101,7 +101,12 @@ int pop3_ok (int sock, char *argbuf)
ok = PS_LOCKBUSY;
else
ok = PS_AUTHFAIL;
- if (*bufp)
+ /*
+ * We always want to pass the user lock-busy messages, because
+ * they're red flags. Other stuff (like AUTH failures on non-
+ * RFC1734 servers) only if we're debugging.
+ */
+ if (*bufp && (ok == PS_LOCKBUSY || outlevel >= O_MONITOR))
report(stderr, "%s\n", bufp);
}
else