[dovecot-cvs] dovecot/src/lib-storage/index index-mail.c,1.57,1.58
cras at dovecot.org
cras at dovecot.org
Sun Sep 12 19:47:40 EEST 2004
Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv8339/lib-storage/index
Modified Files:
index-mail.c
Log Message:
We re-cached internaldate every time again, but never used it.
Index: index-mail.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-mail.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- index-mail.c 10 Sep 2004 11:45:20 -0000 1.57
+++ index-mail.c 12 Sep 2004 16:47:38 -0000 1.58
@@ -197,8 +197,7 @@
struct index_mail *mail = (struct index_mail *) _mail;
struct index_mail_data *data = &mail->data;
- if (data->received_date == (time_t)-1 &&
- (mail->wanted_fields & MAIL_FETCH_RECEIVED_DATE) == 0) {
+ if (data->received_date == (time_t)-1) {
data->received_date = index_mail_get_cached_received_date(mail);
if (data->received_date != (time_t)-1)
return data->received_date;
More information about the dovecot-cvs
mailing list