aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */