Oswald Buddenhagen <ossi@kde.org>

* fix imap_open() brokeness with PREAUTH (missed hunk from previous patch)
This commit is contained in:
Michael Elkins 2002-06-27 03:51:51 +00:00
parent d6fd1939ba
commit 0162c9f5b8

10
imap.c
View File

@ -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;