]> Pileus Git - ~andy/fetchmail/commitdiff
Better notification on authentication failure.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 24 Jan 1997 00:48:37 +0000 (00:48 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 24 Jan 1997 00:48:37 +0000 (00:48 -0000)
svn path=/trunk/; revision=820

driver.c

index 61e6ffae897624fd463d9a3457715ac18a8121c6..69ed831d0dc5d1532fc5ea9f619f4ae60c6c75e9 100644 (file)
--- 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 */