tReenable STARTTLS. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit a5f59208df2440ccbe32dbaa59389c8788698242
(DIR) parent 7f1345bc5915cd4eafa75bdbf3fea9e34ecaf61f
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 25 Aug 2012 14:01:18 +0200
Reenable STARTTLS.
Diffstat:
imap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/imap.c b/imap.c
t@@ -570,6 +570,7 @@ imap_connect(imap_t *imap)
imap->fd = net_new(imap->netspec);
if (imap->fd == NULL)
return 1;
+
if (net_connect(imap->fd)) {
net_free(imap->fd);
imap->fd = NULL;
t@@ -659,13 +660,11 @@ imap_init(imap_t *imap)
if (imap_connect(imap))
return 1;
- /*
result = llist_get(imap->caps, "STARTTLS");
if (result != NULL) {
if (imap_starttls(imap))
return 1;
}
- */
result = llist_get(imap->caps, "LOGINDISABLED");
if (result != NULL)