diff src/lib-index/mail-index.c @ 8547:545cb188f7ab HEAD

Replaced literal "keywords" strings with a macro.
author Timo Sirainen <tss@iki.fi>
date Sun, 14 Dec 2008 06:38:24 +0200
parents 70b53e9b232e
children 9ec2882243a6
line wrap: on
line diff
--- a/src/lib-index/mail-index.c	Sun Dec 14 05:46:31 2008 +0200
+++ b/src/lib-index/mail-index.c	Sun Dec 14 06:38:24 2008 +0200
@@ -44,7 +44,8 @@
 	index->gid = (gid_t)-1;
 
 	index->keywords_ext_id =
-		mail_index_ext_register(index, "keywords", 128, 2, 1);
+		mail_index_ext_register(index, MAIL_INDEX_EXT_KEYWORDS,
+					128, 2, 1);
 	index->keywords_pool = pool_alloconly_create("keywords", 512);
 	i_array_init(&index->keywords, 16);
 	index->keywords_hash =