[dovecot-cvs] dovecot/src/auth auth-master-listener.c, 1.8, 1.9 userdb-static.c, 1.19, 1.20

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


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

Modified Files:
	auth-master-listener.c userdb-static.c 
Log Message:
Removed type parameter from ARRAY_CREATE since it's not needed anymore.



Index: auth-master-listener.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-master-listener.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- auth-master-listener.c	28 Jun 2006 13:10:25 -0000	1.8
+++ auth-master-listener.c	10 Sep 2006 12:32:58 -0000	1.9
@@ -30,12 +30,9 @@
 	listener = i_new(struct auth_master_listener, 1);
 	listener->auth = auth;
 	listener->pid = (unsigned int)getpid();
-	ARRAY_CREATE(&listener->sockets, default_pool,
-		     struct auth_master_listener_socket *, 16);
-	ARRAY_CREATE(&listener->masters, default_pool,
-		     struct auth_master_connection *, 16);
-	ARRAY_CREATE(&listener->clients, default_pool,
-		     struct auth_client_connection *, 16);
+	ARRAY_CREATE(&listener->sockets, default_pool, 16);
+	ARRAY_CREATE(&listener->masters, default_pool, 16);
+	ARRAY_CREATE(&listener->clients, default_pool, 16);
 	auth_client_connections_init(listener);
 
 	array_append(&master_listeners, &listener, 1);
@@ -168,8 +165,7 @@
 
 void auth_master_listeners_init(void)
 {
-	ARRAY_CREATE(&master_listeners, default_pool,
-		     struct auth_master_listener *, 2);
+	ARRAY_CREATE(&master_listeners, default_pool, 2);
 }
 
 void auth_master_listeners_deinit(void)

Index: userdb-static.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb-static.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- userdb-static.c	28 Jun 2006 13:10:25 -0000	1.19
+++ userdb-static.c	10 Sep 2006 12:32:58 -0000	1.20
@@ -68,7 +68,7 @@
 
 	tmp = t_strsplit_spaces(args, " ");
 	ARRAY_CREATE(&module->template, auth_userdb->auth->pool,
-		     const char *, strarray_length(tmp));
+		     strarray_length(tmp));
 
 	t_push();
 	for (; *tmp != NULL; tmp++) {



More information about the dovecot-cvs mailing list