aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-11-28 10:32:38 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-11-28 10:32:38 +0000
commitb53d36176029927e5c4b9394f50140cebf21d19f (patch)
tree96640675b52b6b1f808ad4a86df7956344a19725 /fetchmail.c
parent7151a63fcce316840de99b2da8bcdb03d61a770a (diff)
downloadfetchmail-b53d36176029927e5c4b9394f50140cebf21d19f.tar.gz
fetchmail-b53d36176029927e5c4b9394f50140cebf21d19f.tar.bz2
fetchmail-b53d36176029927e5c4b9394f50140cebf21d19f.zip
Sunil's patch for the STARTTLS problem.
svn path=/trunk/; revision=3772
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index b59209d5..debb8853 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1356,7 +1356,9 @@ static int query_host(struct query *ctl)
break;
case P_IMAP:
#ifdef IMAP_ENABLE
- st = doIMAP(ctl);
+ do {
+ st = doIMAP(ctl);
+ } while (st == PS_REPOLL);
#else
report(stderr, GT_("IMAP support is not configured.\n"));
st = PS_PROTOCOL;
@@ -1537,6 +1539,8 @@ static void dump_params (struct runctl *runp,
#ifdef SSL_ENABLE
if (ctl->use_ssl)
printf(GT_(" SSL encrypted sessions enabled.\n"));
+ if (ctl->sslproto)
+ printf(GT_(" SSL protocol: %s.\n"), ctl->sslproto);
if (ctl->sslcertck) {
printf(GT_(" SSL server certificate checking enabled.\n"));
if (ctl->sslcertpath != NULL)