Browse Source

Oswald Buddenhagen <ossi@kde.org>

* fix imap_open() brokeness with PREAUTH (missed hunk from previous patch)
0.9
Michael Elkins 23 years ago
parent
commit
0162c9f5b8
  1. 10
      imap.c

10
imap.c

@ -684,6 +684,11 @@ imap_open (config_t * box, unsigned int minuid, imap_t * imap, int flags)
}
do
{
/* if we are reusing the existing connection, we can skip the
* authentication steps.
*/
if (!reuse)
{
/* read the greeting string */
if (buffer_gets (imap->buf, &rsp))
@ -710,11 +715,6 @@ imap_open (config_t * box, unsigned int minuid, imap_t * imap, int flags)
break;
}
/* if we are reusing the existing connection, we can skip the
* authentication steps.
*/
if (!reuse)
{
#if HAVE_LIBSSL
if (box->use_imaps)
use_ssl = 1;

Loading…
Cancel
Save