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

cras at dovecot.org cras at dovecot.org
Sun Sep 10 15:48:37 EEST 2006


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

Modified Files:
	expire-env.c 
Log Message:
Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro
has no side effects so it might as well be lowercased.



Index: expire-env.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/expire/expire-env.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- expire-env.c	10 Sep 2006 12:33:31 -0000	1.2
+++ expire-env.c	10 Sep 2006 12:48:35 -0000	1.3
@@ -26,7 +26,7 @@
 	names = p_strsplit(pool, str, " ");
 	len = strarray_length((const char *const *)names);
 
-	ARRAY_CREATE(&env->expire_boxes, pool, len / 2);
+	p_array_init(&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