[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
- Previous message: [dovecot-cvs] dovecot/src/lib array.h, 1.17, 1.18 ioloop-epoll.c, 1.16, 1.17 ioloop-kqueue.c, 1.12, 1.13 module-dir.c, 1.22, 1.23 seq-range-array.c, 1.7, 1.8
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-cache-transaction.c, 1.52, 1.53 mail-cache.c, 1.84, 1.85 mail-index-sync-ext.c, 1.21, 1.22 mail-index-sync.c, 1.76, 1.77 mail-index-transaction.c, 1.79, 1.80 mail-index-view-sync.c, 1.55, 1.56 mail-index-view.c, 1.48, 1.49 mail-index.c, 1.240, 1.241
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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",
- Previous message: [dovecot-cvs] dovecot/src/lib array.h, 1.17, 1.18 ioloop-epoll.c, 1.16, 1.17 ioloop-kqueue.c, 1.12, 1.13 module-dir.c, 1.22, 1.23 seq-range-array.c, 1.7, 1.8
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-cache-transaction.c, 1.52, 1.53 mail-cache.c, 1.84, 1.85 mail-index-sync-ext.c, 1.21, 1.22 mail-index-sync.c, 1.76, 1.77 mail-index-transaction.c, 1.79, 1.80 mail-index-view-sync.c, 1.55, 1.56 mail-index-view.c, 1.48, 1.49 mail-index.c, 1.240, 1.241
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list