[dovecot-cvs] dovecot/src/lib-dict dict.c,1.12,1.13

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


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

Modified Files:
	dict.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.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/dict.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- dict.c	10 Sep 2006 12:33:08 -0000	1.12
+++ dict.c	10 Sep 2006 12:48:15 -0000	1.13
@@ -23,7 +23,7 @@
 void dict_driver_register(struct dict *driver)
 {
 	if (!array_is_created(&dict_drivers))
-		ARRAY_CREATE(&dict_drivers, default_pool, 8);
+		i_array_init(&dict_drivers, 8);
 
 	if (dict_driver_lookup(driver->name) != NULL) {
 		i_fatal("dict_driver_register(%s): Already registered",



More information about the dovecot-cvs mailing list