[dovecot-cvs] dovecot/src/plugins/trash trash-plugin.c,1.13,1.14
tss at dovecot.org
tss at dovecot.org
Sat Nov 25 22:18:39 UTC 2006
Update of /var/lib/cvs/dovecot/src/plugins/trash
In directory talvi:/tmp/cvs-serv28938/plugins/trash
Modified Files:
trash-plugin.c
Log Message:
Mailbox list indexing and related changes. Currently works only with
maildir and mmap_disable=no. This allows doing STATUS to synced mailboxes
without opening their index files at all.
Index: trash-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/trash/trash-plugin.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- trash-plugin.c 12 Nov 2006 18:48:34 -0000 1.13
+++ trash-plugin.c 25 Nov 2006 22:18:36 -0000 1.14
@@ -42,12 +42,11 @@
{
struct mailbox_sync_context *ctx;
struct mailbox_sync_rec sync_rec;
- struct mailbox_status status;
ctx = mailbox_sync_init(box, MAILBOX_SYNC_FLAG_FULL_READ);
while (mailbox_sync_next(ctx, &sync_rec) > 0)
;
- return mailbox_sync_deinit(&ctx, &status);
+ return mailbox_sync_deinit(&ctx, 0, NULL);
}
static int trash_clean_mailbox_open(struct trash_mailbox *trash)
More information about the dovecot-cvs
mailing list