[dovecot-cvs] dovecot/src/imap commands-util.c, 1.49, 1.50 imap-fetch.c, 1.45, 1.46 imap-thread.c, 1.23, 1.24
cras at dovecot.org
cras at dovecot.org
Sun Sep 10 15:33:09 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/dict dict-server.c,1.16,1.17
- Next message: [dovecot-cvs] dovecot/src/lib array.h, 1.16, 1.17 ioloop-epoll.c, 1.15, 1.16 ioloop-kqueue.c, 1.11, 1.12 module-dir.c, 1.21, 1.22 seq-range-array.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv1034/imap
Modified Files:
commands-util.c imap-fetch.c imap-thread.c
Log Message:
Removed type parameter from ARRAY_CREATE since it's not needed anymore.
Index: commands-util.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/commands-util.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- commands-util.c 28 Jun 2006 13:10:32 -0000 1.49
+++ commands-util.c 10 Sep 2006 12:33:07 -0000 1.50
@@ -317,8 +317,7 @@
return FALSE;
p_clear(dest->pool);
- ARRAY_CREATE(&dest->keywords, dest->pool,
- const char *, array_count(keywords));
+ ARRAY_CREATE(&dest->keywords, dest->pool, array_count(keywords));
for (i = 0; i < count; i++) {
const char *name = p_strdup(dest->pool, names[i]);
Index: imap-fetch.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-fetch.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- imap-fetch.c 4 Aug 2006 17:46:11 -0000 1.45
+++ imap-fetch.c 10 Sep 2006 12:33:07 -0000 1.46
@@ -95,8 +95,7 @@
ctx->cur_str = str_new(default_pool, 8192);
ctx->all_headers_buf = buffer_create_dynamic(cmd->pool, 128);
- ARRAY_CREATE(&ctx->handlers, cmd->pool,
- struct imap_fetch_context_handler, 16);
+ ARRAY_CREATE(&ctx->handlers, cmd->pool, 16);
ctx->line_finished = TRUE;
return ctx;
}
Index: imap-thread.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-thread.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- imap-thread.c 30 Jul 2006 23:07:46 -0000 1.23
+++ imap-thread.c 10 Sep 2006 12:33:07 -0000 1.24
@@ -437,7 +437,7 @@
count += APPROX_MSG_EXTRA_COUNT;
ctx->msgid_pool =
pool_alloconly_create("msgids", count * APPROX_MSGID_SIZE);
- ARRAY_CREATE(&ctx->msgid_map, default_pool, const char *,
+ ARRAY_CREATE(&ctx->msgid_map, default_pool,
I_MAX(hdr->record_count, client->messages_count));
ctx->tmp_mail = mail_alloc(ctx->t, 0, NULL);
@@ -1516,8 +1516,7 @@
struct mail_thread_root_rec **roots;
unsigned int i, count;
- ARRAY_CREATE(&ctx->moved_recs, default_pool,
- struct mail_thread_moved_rec, 128);
+ ARRAY_CREATE(&ctx->moved_recs, default_pool, 128);
(void)array_append_space(&ctx->moved_recs);
roots = array_get_modifiable(&ctx->roots, &count);
@@ -1754,8 +1753,7 @@
return 0;
/* (2) save root nodes */
- ARRAY_CREATE(&ctx->roots, default_pool, struct mail_thread_root_rec *,
- I_MIN(128, hdr->record_count));
+ ARRAY_CREATE(&ctx->roots, default_pool, I_MIN(128, hdr->record_count));
for (idx = 1; idx <= hdr->record_count; idx++) {
if (mail_thread_rec_idx(ctx, idx, &rec) < 0)
return -1;
@@ -1927,7 +1925,7 @@
ctx->msgid_hash = tbox->msgid_hash;
ctx->msgid_pool =
pool_alloconly_create("msgids", 20 * APPROX_MSGID_SIZE);
- ARRAY_CREATE(&ctx->msgid_map, default_pool, const char *, 20);
+ ARRAY_CREATE(&ctx->msgid_map, default_pool, 20);
ctx->tmp_mail = mail_alloc(mt, 0, NULL);
} else if (data == NULL) {
/* deinit */
- Previous message: [dovecot-cvs] dovecot/src/dict dict-server.c,1.16,1.17
- Next message: [dovecot-cvs] dovecot/src/lib array.h, 1.16, 1.17 ioloop-epoll.c, 1.15, 1.16 ioloop-kqueue.c, 1.11, 1.12 module-dir.c, 1.21, 1.22 seq-range-array.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list