[dovecot-cvs] dovecot/src/plugins/expire expire-env.c,1.1,1.2

cras at dovecot.org cras at dovecot.org
Sun Sep 10 15:33:34 EEST 2006


Update of /var/lib/cvs/dovecot/src/plugins/expire
In directory talvi:/tmp/cvs-serv1034/plugins/expire

Modified Files:
	expire-env.c 
Log Message:
Removed type parameter from ARRAY_CREATE since it's not needed anymore.



Index: expire-env.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/expire/expire-env.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- expire-env.c	30 Jul 2006 23:12:54 -0000	1.1
+++ expire-env.c	10 Sep 2006 12:33:31 -0000	1.2
@@ -26,7 +26,7 @@
 	names = p_strsplit(pool, str, " ");
 	len = strarray_length((const char *const *)names);
 
-	ARRAY_CREATE(&env->expire_boxes, pool, struct expire_box, len / 2);
+	ARRAY_CREATE(&env->expire_boxes, pool, len / 2);
 	for (; *names != NULL; names += 2) {
 		if (names[1] == NULL) {
 			i_fatal("expire: Missing expire days for mailbox '%s'",



More information about the dovecot-cvs mailing list