[dovecot-cvs] dovecot/src/plugins/trash trash-plugin.c,1.1,1.2

cras at dovecot.org cras at dovecot.org
Fri Jan 13 22:26:50 EET 2006


Update of /var/lib/cvs/dovecot/src/plugins/trash
In directory talvi:/tmp/cvs-serv27808/src/plugins/trash

Modified Files:
	trash-plugin.c 
Log Message:
Added "bool" type and changed all ints that were used as booleans to bool.



Index: trash-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/trash/trash-plugin.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- trash-plugin.c	10 Dec 2005 19:44:47 -0000	1.1
+++ trash-plugin.c	13 Jan 2006 20:26:46 -0000	1.2
@@ -46,7 +46,7 @@
 
 static void (*trash_next_hook_mail_storage_created)
 	(struct mail_storage *storage);
-static int quota_initialized;
+static bool quota_initialized;
 static unsigned int trash_quota_module_id;
 
 static pool_t config_pool;
@@ -169,7 +169,7 @@
 
 static int
 trash_quota_try_alloc(struct quota_transaction_context *ctx,
-		      struct mail *mail, int *too_large_r)
+		      struct mail *mail, bool *too_large_r)
 {
 	struct trash_quota *tquota = TRASH_CONTEXT(quota);
 	int ret, i;



More information about the dovecot-cvs mailing list