Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4275:6fd56bf3f3be HEAD
Fix for handling keywords
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 30 May 2006 11:22:29 +0300 |
parents | bd519db7f6e5 |
children | 7e8bd7301461 |
files | src/lib-storage/index/dbox/dbox-keywords.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox/dbox-keywords.c Tue May 16 12:10:27 2006 +0300 +++ b/src/lib-storage/index/dbox/dbox-keywords.c Tue May 30 11:22:29 2006 +0300 @@ -61,7 +61,7 @@ /* look up the position where to insert it */ map = array_get_modifyable(&file->idx_file_keywords, &count); pos = idx == 0 ? map : - bsearch_insert_pos(line, map, count, sizeof(*map), + bsearch_insert_pos(&kw, map, count, sizeof(*map), dbox_keyword_map_compare); array_insert(&file->idx_file_keywords, pos - map, &kw, 1); array_append(&file->file_idx_keywords, &kw.index_idx, 1);