cmd-close.c revision 45312f52ff3a3d4c137447be4c7556500c2f8bf2
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
#include "common.h"
#include "commands.h"
#include "imap-expunge.h"
{
struct mail_storage *storage;
int ret;
if (!client_verify_open_mailbox(cmd))
return TRUE;
if (mailbox_close(&mailbox) < 0)
return TRUE;
}