diff src/imap/cmd-close.c @ 1640:db14aa8e2b5c HEAD

API change for expunging messages. Not exactly what I wanted, but good enough.
author Timo Sirainen <tss@iki.fi>
date Sat, 26 Jul 2003 19:33:21 +0300
parents e29bc94711e2
children 72c6e848f583
line wrap: on
line diff
--- a/src/imap/cmd-close.c	Wed Jul 23 05:55:12 2003 +0300
+++ b/src/imap/cmd-close.c	Sat Jul 26 19:33:21 2003 +0300
@@ -2,6 +2,7 @@
 
 #include "common.h"
 #include "commands.h"
+#include "imap-expunge.h"
 
 int cmd_close(struct client *client)
 {
@@ -13,7 +14,7 @@
 	client->mailbox = NULL;
 
 	if (!mailbox->readonly) {
-		if (!mailbox->expunge(mailbox, FALSE))
+		if (!imap_expunge(mailbox, FALSE))
 			client_send_untagged_storage_error(client);
 	}