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 02:00:30 +0200
commitf285f5ee95765133b41d6ecae0f397b3b72fa6d4 (patch)
treefc5b3f9611e07bbd4d1cb06652de129c363a3630
parent7ddcce111281e4b0222bb7c7b39ce46636f7da4e (diff)
downloadfetchmail-f285f5ee95765133b41d6ecae0f397b3b72fa6d4.tar.gz
fetchmail-f285f5ee95765133b41d6ecae0f397b3b72fa6d4.tar.bz2
fetchmail-f285f5ee95765133b41d6ecae0f397b3b72fa6d4.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;