aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2011-05-26 01:47:11 +0200
committerMatthias Andree <matthias.andree@gmx.de>2011-05-26 23:15:22 +0200
commit5706501113d3374107981a16060adb1f6a105b88 (patch)
treedda3c8946235fbed35113ca77b9a38192302e669
parent98c19ea26667579fbbf17a09c6e73ddf7784e818 (diff)
downloadfetchmail-5706501113d3374107981a16060adb1f6a105b88.tar.gz
fetchmail-5706501113d3374107981a16060adb1f6a105b88.tar.bz2
fetchmail-5706501113d3374107981a16060adb1f6a105b88.zip
Fix missed disabling of alarm when SSL-wrapped connect failed.
-rw-r--r--driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index cfc4af0f..25fed3bd 100644
--- a/driver.c
+++ b/driver.c
@@ -1098,6 +1098,7 @@ static int do_session(
ctl->sslcommonname : realhost, ctl->server.pollname,
&ctl->remotename) == -1)
{
+ set_timeout(0);
report(stderr, GT_("SSL connection failed.\n"));
err = PS_SOCKET;
goto cleanUp;