comparison src/imap/imap-thread.c @ 6089:a19931ec66db HEAD

Changed mail_transaction_begin() API to take flags parameter instead of two booleans.
author Timo Sirainen <tss@iki.fi>
date Thu, 19 Jul 2007 02:36:04 +0300
parents 7a6db5ec047d
children ad1b948c5fa2
comparison
equal deleted inserted replaced
6088:7639a6df4acb 6089:a19931ec66db
2080 tbox->ctx = ctx = i_new(struct thread_context, 1); 2080 tbox->ctx = ctx = i_new(struct thread_context, 1);
2081 2081
2082 if (mail_hash_lock(tbox->msgid_hash) <= 0) 2082 if (mail_hash_lock(tbox->msgid_hash) <= 0)
2083 return 0; 2083 return 0;
2084 2084
2085 t = mail_index_transaction_begin(sync_ctx->view, FALSE, FALSE); 2085 t = mail_index_transaction_begin(sync_ctx->view, 0);
2086 mt = MAIL_STORAGE_CONTEXT(t); 2086 mt = MAIL_STORAGE_CONTEXT(t);
2087 2087
2088 ctx->msgid_hash = tbox->msgid_hash; 2088 ctx->msgid_hash = tbox->msgid_hash;
2089 ctx->msgid_pool = 2089 ctx->msgid_pool =
2090 pool_alloconly_create("msgids", 20 * APPROX_MSGID_SIZE); 2090 pool_alloconly_create("msgids", 20 * APPROX_MSGID_SIZE);