Commit 7564b902 7564b902cf6d0f2836c7b413dc2fb4ca4dc723af by Sam Roberts

don't pretend to be authorized if we are not, it only leads to confusion

1 parent d6fe5988
......@@ -324,6 +324,7 @@ folder_imap_open (folder_t folder, int flags)
{
/* No other type of Authentication is supported yet. */
/* What can we do ? flag an error ? */
CHECK_ERROR_CLOSE (folder, f_imap, ENOTSUP);
}
}
f_imap->state = IMAP_AUTH;
......