Mercurial > dovecot > core-2.2
comparison src/lib-storage/index/imapc/imapc-mailbox.c @ 12615:3dde816d945d
imapc: Write large message bodies to temp files rather than keeping in memory.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 31 Jan 2011 04:02:04 +0200 |
parents | 391ba80cb125 |
children | 4fdf3084f74f |
comparison
equal
deleted
inserted
replaced
12614:1e88287fc721 | 12615:3dde816d945d |
---|---|
129 seqmap = imapc_client_mailbox_get_seqmap(mbox->client_box); | 129 seqmap = imapc_client_mailbox_get_seqmap(mbox->client_box); |
130 seq = imapc_seqmap_rseq_to_lseq(seqmap, seq); | 130 seq = imapc_seqmap_rseq_to_lseq(seqmap, seq); |
131 | 131 |
132 if (mbox->cur_fetch_mail != NULL && mbox->cur_fetch_mail->seq == seq) { | 132 if (mbox->cur_fetch_mail != NULL && mbox->cur_fetch_mail->seq == seq) { |
133 i_assert(uid == 0 || mbox->cur_fetch_mail->uid == uid); | 133 i_assert(uid == 0 || mbox->cur_fetch_mail->uid == uid); |
134 imapc_fetch_mail_update(mbox->cur_fetch_mail, list); | 134 imapc_fetch_mail_update(mbox->cur_fetch_mail, reply, list); |
135 } | 135 } |
136 | 136 |
137 imapc_mailbox_init_delayed_trans(mbox); | 137 imapc_mailbox_init_delayed_trans(mbox); |
138 old_count = mail_index_view_get_messages_count(mbox->delayed_sync_view); | 138 old_count = mail_index_view_get_messages_count(mbox->delayed_sync_view); |
139 if (seq > old_count) { | 139 if (seq > old_count) { |