24 |
imap4d_close (struct imap4d_command *command, char *arg) |
imap4d_close (struct imap4d_command *command, char *arg) |
25 |
{ |
{ |
26 |
(void)arg; |
(void)arg; |
|
if (! (command->states & state)) |
|
|
return util_finish (command, RESP_BAD, "Wrong state"); |
|
27 |
/* FIXME: Check and report errors. */ |
/* FIXME: Check and report errors. */ |
28 |
/* The CLOSE command permanently removes from the currently selected |
/* The CLOSE command permanently removes from the currently selected |
29 |
mailbox all messages that have the \\Deleted flag set, and returns |
mailbox all messages that have the \\Deleted flag set, and returns |