[dovecot-cvs] dovecot/src/lib-sql driver-mysql.c, 1.23, 1.24 sql-api.c, 1.11, 1.12

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


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

Modified Files:
	driver-mysql.c sql-api.c 
Log Message:
Removed type parameter from ARRAY_CREATE since it's not needed anymore.



Index: driver-mysql.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-sql/driver-mysql.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- driver-mysql.c	28 Aug 2006 17:06:06 -0000	1.23
+++ driver-mysql.c	10 Sep 2006 12:33:12 -0000	1.24
@@ -252,7 +252,7 @@
 	db = p_new(pool, struct mysql_db, 1);
 	db->pool = pool;
 	db->api = driver_mysql_db;
-	ARRAY_CREATE(&db->connections, pool, struct mysql_connection, 6);
+	ARRAY_CREATE(&db->connections, pool, 6);
 
 	driver_mysql_parse_connect_string(db, connect_string);
 	return &db->api;

Index: sql-api.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-sql/sql-api.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- sql-api.c	1 Jul 2006 17:24:11 -0000	1.11
+++ sql-api.c	10 Sep 2006 12:33:12 -0000	1.12
@@ -8,7 +8,7 @@
 
 void sql_drivers_init(void)
 {
-	ARRAY_CREATE(&sql_drivers, default_pool, const struct sql_db *, 8);
+	ARRAY_CREATE(&sql_drivers, default_pool, 8);
 }
 
 void sql_drivers_deinit(void)



More information about the dovecot-cvs mailing list