[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.89, 1.90
tss at dovecot.org
tss at dovecot.org
Fri Nov 3 09:03:08 UTC 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv11858
Modified Files:
index-storage.c
Log Message:
Fix
Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- index-storage.c 13 Oct 2006 15:22:18 -0000 1.89
+++ index-storage.c 3 Nov 2006 09:03:05 -0000 1.90
@@ -207,14 +207,14 @@
return;
for (arr = t_strsplit_spaces(fields, " ,"); *arr != NULL; arr++) {
- for (i = 0; i < MAIL_CACHE_FIELD_COUNT; i++) {
+ for (i = 0; i < MAIL_INDEX_CACHE_FIELD_COUNT; i++) {
if (strcasecmp(global_cache_fields[i].name,
*arr) == 0) {
global_cache_fields[i].decision = dec;
break;
}
}
- if (i == MAIL_CACHE_FIELD_COUNT) {
+ if (i == MAIL_INDEX_CACHE_FIELD_COUNT) {
i_error("%s: Invalid cache field name '%s', ignoring ",
set, *arr);
}
@@ -252,7 +252,7 @@
memcpy(ibox->cache_fields, global_cache_fields,
sizeof(global_cache_fields));
mail_cache_register_fields(cache, ibox->cache_fields,
- MAIL_CACHE_FIELD_COUNT);
+ MAIL_INDEX_CACHE_FIELD_COUNT);
}
void index_storage_lock_notify(struct index_mailbox *ibox,
More information about the dovecot-cvs
mailing list