[dovecot-cvs] dovecot/src/master mail-process.c, 1.105, 1.106 master-settings.c, 1.139, 1.140
cras at dovecot.org
cras at dovecot.org
Sun Sep 10 15:48:35 EEST 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv24049/master
Modified Files:
mail-process.c master-settings.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: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- mail-process.c 10 Sep 2006 12:33:24 -0000 1.105
+++ mail-process.c 10 Sep 2006 12:48:32 -0000 1.106
@@ -414,7 +414,7 @@
return FALSE;
}
- ARRAY_CREATE(&extra_args, pool_datastack_create(), 16);
+ t_array_init(&extra_args, 16);
mail = home_dir = chroot_dir = system_user = "";
uid = gid = 0; nice = 0;
home_given = FALSE;
Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- master-settings.c 10 Sep 2006 12:33:24 -0000 1.139
+++ master-settings.c 10 Sep 2006 12:48:32 -0000 1.140
@@ -1136,9 +1136,9 @@
*server->imap = *imap_defaults;
*server->pop3 = *pop3_defaults;
- ARRAY_CREATE(&server->dicts, settings_pool, 4);
- ARRAY_CREATE(&server->imap->plugin_envs, settings_pool, 8);
- ARRAY_CREATE(&server->pop3->plugin_envs, settings_pool, 8);
+ p_array_init(&server->dicts, settings_pool, 4);
+ p_array_init(&server->imap->plugin_envs, settings_pool, 8);
+ p_array_init(&server->pop3->plugin_envs, settings_pool, 8);
server->imap->server = server;
server->imap->protocol = MAIL_PROTOCOL_IMAP;
More information about the dovecot-cvs
mailing list