[dovecot-cvs] dovecot/src/plugins/quota quota-storage.c,1.15,1.16

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


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

Modified Files:
	quota-storage.c 
Log Message:
Removed HAS_INBOX and SHARED_NAMESPACE flags from mail storage and mailbox
list flags. They can be directly taken from struct mail_namespace.



Index: quota-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-storage.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- quota-storage.c	17 Apr 2007 15:33:23 -0000	1.15
+++ quota-storage.c	17 Apr 2007 15:39:31 -0000	1.16
@@ -452,7 +452,7 @@
 
 	MODULE_CONTEXT_SET_SELF(storage, quota_storage_module, qstorage);
 
-	if ((storage->flags & MAIL_STORAGE_FLAG_SHARED_NAMESPACE) == 0) {
+	if (storage->ns->type == NAMESPACE_PRIVATE) {
 		/* register to user's quota roots */
 		quota_add_user_storage(quota_set, storage);
 	}



More information about the dovecot-cvs mailing list