From b53d36176029927e5c4b9394f50140cebf21d19f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 28 Nov 2002 10:32:38 +0000 Subject: Sunil's patch for the STARTTLS problem. svn path=/trunk/; revision=3772 --- fetchmail.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'fetchmail.c') 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) -- cgit v1.2.3