aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-24 00:48:37 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-24 00:48:37 +0000
commit31e28d3b535c7f34b889695e4db23790e43cf85f (patch)
treedfca4db4544efff187b41f194ecbcfd9e3c70ad0
parent6ce82b6f3a2c73f72b5c27780b58ce7965458fa6 (diff)
downloadfetchmail-31e28d3b535c7f34b889695e4db23790e43cf85f.tar.gz
fetchmail-31e28d3b535c7f34b889695e4db23790e43cf85f.tar.bz2
fetchmail-31e28d3b535c7f34b889695e4db23790e43cf85f.zip
Better notification on authentication failure.
svn path=/trunk/; revision=820
-rw-r--r--driver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 61e6ffae..69ed831d 100644
--- a/driver.c
+++ b/driver.c
@@ -1118,7 +1118,12 @@ const struct method *proto; /* protocol method table */
if (ok == PS_ERROR)
ok = PS_AUTHFAIL;
if (ok != 0)
+ {
+ error(0, 0, "Authorization failure on %s@%s",
+ ctl->remotename,
+ realname);
goto cleanUp;
+ }
vtalarm(ctl->server.timeout);
/* compute number of messages and number of new messages waiting */