[dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c,
1.23, 1.24
cras at procontrol.fi
cras at procontrol.fi
Mon Jul 5 00:22:02 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.34,
1.35
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.8,
1.9 mail-cache-transaction.c, 1.10, 1.11 mail-index-private.h,
1.23, 1.24 mail-index-transaction-private.h, 1.9,
1.10 mail-index-transaction.c, 1.17,
1.18 mail-transaction-log.c, 1.43, 1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv31171/lib-storage/index
Modified Files:
index-mail-headers.c
Log Message:
cache fix
Index: index-mail-headers.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-mail-headers.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- index-mail-headers.c 4 Jul 2004 21:07:43 -0000 1.23
+++ index-mail-headers.c 4 Jul 2004 21:22:00 -0000 1.24
@@ -781,7 +781,7 @@
len = str_len(mail->data.header_data) -
data->header_data_uncached_offset;
- if (len != 0) {
+ if (idx >= data->header_data_cached) {
mail_cache_add(mail->trans->cache_trans, data->seq,
mail_cache_header_fields[idx], str, len+1);
}
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.34,
1.35
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.8,
1.9 mail-cache-transaction.c, 1.10, 1.11 mail-index-private.h,
1.23, 1.24 mail-index-transaction-private.h, 1.9,
1.10 mail-index-transaction.c, 1.17,
1.18 mail-transaction-log.c, 1.43, 1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list