[dovecot-cvs] dovecot/src/dict dict-server.c,1.17,1.18

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


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

Modified Files:
	dict-server.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: dict-server.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/dict/dict-server.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- dict-server.c	10 Sep 2006 12:33:06 -0000	1.17
+++ dict-server.c	10 Sep 2006 12:48:13 -0000	1.18
@@ -155,7 +155,7 @@
 	}
 
 	if (!array_is_created(&conn->transactions))
-		ARRAY_CREATE(&conn->transactions, default_pool, 4);
+		i_array_init(&conn->transactions, 4);
 
 	/* <id> */
 	trans = array_append_space(&conn->transactions);



More information about the dovecot-cvs mailing list