}
ibox->next_lock_notify = now + LOCK_NOTIFY_INTERVAL;
- ibox->last_notify_type = notify_type;
+ ibox->last_notify_type = notify_type;
switch (notify_type) {
case MAILBOX_LOCK_NOTIFY_NONE:
static int mailbox_expunge_all_data(struct mailbox *box)
{
struct mail_search_context *ctx;
- struct mailbox_transaction_context *t;
+ struct mailbox_transaction_context *t;
struct mail *mail;
struct mail_search_args *search_args;
int ret;
if (box->list->v.delete_mailbox(box->list, box->name) < 0) {
mail_storage_copy_list_error(box->storage, box->list);
return -1;
- }
+ }
if (ret_guid == 0) {
mailbox_list_add_change(box->list,
struct imap_match_glob *mailbox_glob;
} initialized;
- void *context;
+ void *context;
const char *hdr_field_name; /* for SEARCH_HEADER* */
bool match_not:1; /* result = !result */
bool match_always:1; /* result = 1 always */
enum mail_storage_flags {
/* Remember message headers' MD5 sum */
MAIL_STORAGE_FLAG_KEEP_HEADER_MD5 = 0x01,
- /* Don't try to autodetect anything, require that the given data
+ /* Don't try to autodetect anything, require that the given data
contains all the necessary information. */
MAIL_STORAGE_FLAG_NO_AUTODETECTION = 0x02,
/* Don't autocreate any directories. If they don't exist,