[dovecot-cvs] dovecot/src/plugins/imap-quota imap-quota-plugin.c, 1.2, 1.3

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


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

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



Index: imap-quota-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/imap-quota/imap-quota-plugin.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- imap-quota-plugin.c	14 Dec 2005 21:28:44 -0000	1.2
+++ imap-quota-plugin.c	13 Jan 2006 20:26:42 -0000	1.3
@@ -46,7 +46,7 @@
 	t_pop();
 }
 
-static int cmd_getquotaroot(struct client_command_context *cmd)
+static bool cmd_getquotaroot(struct client_command_context *cmd)
 {
 	struct mail_storage *storage;
 	struct mailbox *box;
@@ -109,7 +109,7 @@
 	return TRUE;
 }
 
-static int cmd_getquota(struct client_command_context *cmd)
+static bool cmd_getquota(struct client_command_context *cmd)
 {
 	const char *root_name;
         struct quota_root *root;
@@ -134,7 +134,7 @@
 	return TRUE;
 }
 
-static int cmd_setquota(struct client_command_context *cmd)
+static bool cmd_setquota(struct client_command_context *cmd)
 {
 	struct quota_root *root;
         struct imap_arg *args, *arg;



More information about the dovecot-cvs mailing list