[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-keywords.c, 1.2, 1.2.2.1

cras at dovecot.org cras at dovecot.org
Thu May 18 12:33:42 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv22441/lib-storage/index/dbox

Modified Files:
      Tag: branch_1_0
	dbox-keywords.c 
Log Message:
Fix for handling keywords



Index: dbox-keywords.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-keywords.c,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -d -r1.2 -r1.2.2.1
--- dbox-keywords.c	24 Feb 2006 17:33:48 -0000	1.2
+++ dbox-keywords.c	18 May 2006 09:33:40 -0000	1.2.2.1
@@ -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);



More information about the dovecot-cvs mailing list