dovecot: Fix showing extensions.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Nov 10 23:37:13 EET 2007
details: http://hg.dovecot.org/dovecot/rev/51793c88b1c7
changeset: 6767:51793c88b1c7
user: Timo Sirainen <tss at iki.fi>
date: Sat Nov 10 23:37:10 2007 +0200
description:
Fix showing extensions.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/util/idxview.c | 4 ++--
diffs (21 lines):
diff -r a72d725ccb1b -r 51793c88b1c7 src/util/idxview.c
--- a/src/util/idxview.c Sat Nov 10 23:05:51 2007 +0200
+++ b/src/util/idxview.c Sat Nov 10 23:37:10 2007 +0200
@@ -341,7 +341,7 @@ static void dump_record(struct mail_inde
{
struct mail_index *index = mail_index_view_get_index(view);
const struct mail_index_record *rec;
- const struct mail_index_ext *ext;
+ const struct mail_index_registered_ext *ext;
const void *data;
unsigned int i, ext_count;
string_t *str;
@@ -352,7 +352,7 @@ static void dump_record(struct mail_inde
seq, rec->uid, rec->flags, flags2str(rec->flags));
str = t_str_new(256);
- ext = array_get(&index->map->extensions, &ext_count);
+ ext = array_get(&index->extensions, &ext_count);
for (i = 0; i < ext_count; i++) {
mail_index_lookup_ext(view, seq, i, &data, &expunged);
if (data == NULL || ext[i].record_size == 0)
More information about the dovecot-cvs
mailing list