rohrpost

A commandline mail client to change the world as we see it.
git clone git://r-36.net/rohrpost
Log | Files | Refs | LICENSE

commit a5f59208df2440ccbe32dbaa59389c8788698242
parent 7f1345bc5915cd4eafa75bdbf3fea9e34ecaf61f
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(-)

diff --git a/imap.c b/imap.c @@ -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; @@ -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)