Skip to content

Commit

Permalink
imapc: Don't reconnect on DELETE if auth failure was already seen.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen authored and villesavolainen committed Jun 13, 2017
1 parent e157d2a commit f8cd28e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib-storage/index/imapc/imapc-list.c
Expand Up @@ -840,6 +840,8 @@ imapc_list_delete_mailbox(struct mailbox_list *_list, const char *name)
struct imapc_command *cmd;
struct imapc_simple_context ctx;

if (imapc_storage_client_handle_auth_failure(list->client))
return -1;
if (imapc_client_get_capabilities(list->client->client, &capa) < 0)
return -1;

Expand Down

0 comments on commit f8cd28e

Please sign in to comment.