cmd-close.c revision 8bb360f9e5de1c25e4f875205bb06e8bf15dae14
/* Copyright (c) 2002-2010 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "imap-commands.h"
#include "imap-expunge.h"
{
struct mail_storage *storage;
if (!client_verify_open_mailbox(cmd))
return TRUE;
if (mailbox_sync(mailbox, 0) < 0)
return TRUE;
}