/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "imap-commands.h"
#include "imap-search-args.h"
#include "imap-expunge.h"
static bool ATTR_NULL(2)
struct mail_search_args *search_args)
{
const char *errstr;
int ret;
if (search_args != NULL)
if (ret < 0) {
if (error != MAIL_ERROR_PERM) {
return TRUE;
} else {
t_strdup_printf("OK Expunge ignored: %s.",
errstr));
}
}
IMAP_SYNC_FLAG_SAFE, "OK Expunge completed.");
}
{
const char *uidset;
int ret;
return FALSE;
if (!client_verify_open_mailbox(cmd))
return TRUE;
return TRUE;
}
if (ret <= 0)
return ret < 0;
}
{
if (!client_verify_open_mailbox(cmd))
return TRUE;
}