[dovecot-cvs] dovecot/src/lib-sql driver-mysql.c, 1.24, 1.25 sql-api.c, 1.12, 1.13
cras at dovecot.org
cras at dovecot.org
Sun Sep 10 15:48:24 EEST 2006
- Previous 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
- Next message: [dovecot-cvs] dovecot/src/lib-storage mail-storage.c,1.58,1.59
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-sql
In directory talvi:/tmp/cvs-serv24049/lib-sql
Modified Files:
driver-mysql.c sql-api.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: driver-mysql.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-sql/driver-mysql.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- driver-mysql.c 10 Sep 2006 12:33:12 -0000 1.24
+++ driver-mysql.c 10 Sep 2006 12:48:22 -0000 1.25
@@ -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, 6);
+ p_array_init(&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.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- sql-api.c 10 Sep 2006 12:33:12 -0000 1.12
+++ sql-api.c 10 Sep 2006 12:48:22 -0000 1.13
@@ -8,7 +8,7 @@
void sql_drivers_init(void)
{
- ARRAY_CREATE(&sql_drivers, default_pool, 8);
+ i_array_init(&sql_drivers, 8);
}
void sql_drivers_deinit(void)
- Previous 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
- Next message: [dovecot-cvs] dovecot/src/lib-storage mail-storage.c,1.58,1.59
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list