[dovecot-cvs] dovecot/src/master mail-process.c, 1.104, 1.105 master-settings.c, 1.138, 1.139

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


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv1034/master

Modified Files:
	mail-process.c master-settings.c 
Log Message:
Removed type parameter from ARRAY_CREATE since it's not needed anymore.



Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- mail-process.c	11 Aug 2006 01:12:05 -0000	1.104
+++ mail-process.c	10 Sep 2006 12:33:24 -0000	1.105
@@ -414,7 +414,7 @@
 		return FALSE;
 	}
 
-	ARRAY_CREATE(&extra_args, pool_datastack_create(), const char *, 16);
+	ARRAY_CREATE(&extra_args, pool_datastack_create(), 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.138
retrieving revision 1.139
diff -u -d -r1.138 -r1.139
--- master-settings.c	10 Aug 2006 19:15:43 -0000	1.138
+++ master-settings.c	10 Sep 2006 12:33:24 -0000	1.139
@@ -1136,11 +1136,9 @@
 	*server->imap = *imap_defaults;
 	*server->pop3 = *pop3_defaults;
 
-	ARRAY_CREATE(&server->dicts, settings_pool, const char *, 4);
-	ARRAY_CREATE(&server->imap->plugin_envs, settings_pool,
-		     const char *, 8);
-	ARRAY_CREATE(&server->pop3->plugin_envs, settings_pool,
-		     const char *, 8);
+	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);
 
 	server->imap->server = server;
 	server->imap->protocol = MAIL_PROTOCOL_IMAP;



More information about the dovecot-cvs mailing list