Mercurial > dovecot > core-2.2
diff src/lib-storage/index/index-sort.c @ 12611:16a541057e88
lib-storage: Moved setting "wanted fields/headers" fields for sort program from imap-specific code.
Also separate between fields that are actually wanted to be fetched from the
fields that sorting wants to temporarily use.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 31 Jan 2011 02:13:06 +0200 |
parents | 6813e76eb29e |
children | 447bce266022 |
line wrap: on
line diff
--- a/src/lib-storage/index/index-sort.c Mon Jan 31 01:36:29 2011 +0200 +++ b/src/lib-storage/index/index-sort.c Mon Jan 31 02:13:06 2011 +0200 @@ -108,7 +108,9 @@ { i_assert(mail->transaction == program->t); - program->sort_list_add(program, mail); + T_BEGIN { + program->sort_list_add(program, mail); + } T_END; } static int sort_node_date_cmp(const struct mail_sort_node_date *n1,