aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-05-13 22:01:34 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-05-13 22:01:34 +0000
commite2af690f8bef6be6b349bade072f59d141ecc87b (patch)
tree69c87a9663bcc0c3cc11a8008fa1a919fe2b5819
parentb65848f75179b37126fb77a5ec99b2ea12ec1c98 (diff)
downloadfetchmail-e2af690f8bef6be6b349bade072f59d141ecc87b.tar.gz
fetchmail-e2af690f8bef6be6b349bade072f59d141ecc87b.tar.bz2
fetchmail-e2af690f8bef6be6b349bade072f59d141ecc87b.zip
Fix for OpenSSL configuration.
svn path=/trunk/; revision=2892
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index ec03cd01..4f35261e 100644
--- a/driver.c
+++ b/driver.c
@@ -1589,7 +1589,7 @@ const int maxfetch; /* maximum number of messages to fetch */
(void)sleep(1);
#if INET6_ENABLE
if ((mailserver_socket = SockOpen(realhost,
- ctl->server.service ? ctl->server.service : protocol->service,
+ ctl->server.service ? ctl->server.service : ( ctl->use_ssl ? protocol->sslservice : protocol->service ),
ctl->server.netsec, ctl->server.plugin)) == -1)
#else /* INET6_ENABLE */
if ((mailserver_socket = SockOpen(realhost, port, NULL, ctl->server.plugin)) == -1)