Mercurial > dovecot > core-2.2
changeset 22183:8b503d60ab43
imapc: Remove auth_failed check from imapc_list_get_storage_name()
Reverts 9949dc3649ac7a00289f6bf0662c793bee3d4286. It doesn't seem to be
actually needed at least now, and it's breaking:
* SELECT INBOX -> failure due to remote server being down
* SELECT INBOX -> NO [CANNOT] Invalid mailbox name: Name is empty
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Mon, 12 Jun 2017 11:05:31 +0300 |
parents | 961af1f77dc9 |
children | 4f4219ee5933 |
files | src/lib-storage/index/imapc/imapc-list.c |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/imapc/imapc-list.c Thu Jun 08 20:34:39 2017 +0300 +++ b/src/lib-storage/index/imapc/imapc-list.c Mon Jun 12 11:05:31 2017 +0300 @@ -347,11 +347,6 @@ const char *prefix = list->set->imapc_list_prefix; const char *storage_name; - /* check if authentication has failed, if it has, short circuit here - to avoid the error being clobbered by mailbox_list_get_hierarchy_sep */ - if (list->client->auth_failed) - return ""; - storage_name = mailbox_list_default_get_storage_name(_list, vname); if (*prefix != '\0' && strcasecmp(storage_name, "INBOX") != 0) { storage_name = storage_name[0] == '\0' ? prefix :