aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-09-21 15:00:17 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-09-21 15:00:17 +0000
commita5180c9109b918cf441ffd0c90e05ab8c35d40d9 (patch)
treea4a6b1653073ab6a944ca9bf8de747a3dc522d84 /imap.c
parent85d5e89e02ddfa31f6753364d5fd235af2242cb8 (diff)
downloadfetchmail-a5180c9109b918cf441ffd0c90e05ab8c35d40d9.tar.gz
fetchmail-a5180c9109b918cf441ffd0c90e05ab8c35d40d9.tar.bz2
fetchmail-a5180c9109b918cf441ffd0c90e05ab8c35d40d9.zip
Make SSL connection failures PS_SOCKET (not PS_AUTHFAIL). Reported by Thomas Wolff.
svn path=/trunk/; revision=4314
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 933dd132..544d720e 100644
--- a/imap.c
+++ b/imap.c
@@ -367,7 +367,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting)
}
report(stderr,
GT_("SSL connection failed.\n"));
- return(PS_AUTHFAIL);
+ return PS_SOCKET;
}
did_stls = TRUE;