[dovecot-cvs] dovecot/src/plugins/imap-quota imap-quota-plugin.c, 1.12, 1.13

tss at dovecot.org tss at dovecot.org
Tue Apr 17 18:33:26 EEST 2007


Update of /var/lib/cvs/dovecot/src/plugins/imap-quota
In directory talvi:/tmp/cvs-serv30048/imap-quota

Modified Files:
	imap-quota-plugin.c 
Log Message:
Use sync_notify() callback to count expunges. This makes the calculation
much more reliable than the previous method. Also did some API cleanups.



Index: imap-quota-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/imap-quota/imap-quota-plugin.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- imap-quota-plugin.c	9 Mar 2007 19:37:23 -0000	1.12
+++ imap-quota-plugin.c	17 Apr 2007 15:33:23 -0000	1.13
@@ -91,15 +91,14 @@
 		str_append_c(str, ' ');
 		imap_quote_append_string(str, quota_root_get_name(root), FALSE);
 	}
-	quota_root_iter_deinit(iter);
+	quota_root_iter_deinit(&iter);
 	client_send_line(cmd->client, str_c(str));
 
 	/* send QUOTA reply for each quotaroot */
 	iter = quota_root_iter_init(quota_set, box);
 	while ((root = quota_root_iter_next(iter)) != NULL)
 		quota_send(cmd, root);
-	quota_root_iter_deinit(iter);
-
+	quota_root_iter_deinit(&iter);
 	mailbox_close(&box);
 
 	client_send_tagline(cmd, "OK Getquotaroot completed.");



More information about the dovecot-cvs mailing list