dovecot-1.1: index_mail_get_date() didn't return timezone if dat...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Feb 21 18:57:15 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/e5d3e6c598ec
changeset: 7280:e5d3e6c598ec
user: Timo Sirainen <tss at iki.fi>
date: Thu Feb 21 18:58:41 2008 +0200
description:
index_mail_get_date() didn't return timezone if date was already parsed.
diffstat:
1 file changed, 1 insertion(+)
src/lib-storage/index/index-mail.c | 1 +
diffs (11 lines):
diff -r ef13dd179331 -r e5d3e6c598ec src/lib-storage/index/index-mail.c
--- a/src/lib-storage/index/index-mail.c Thu Feb 21 18:18:08 2008 +0200
+++ b/src/lib-storage/index/index-mail.c Thu Feb 21 18:58:41 2008 +0200
@@ -265,6 +265,7 @@ int index_mail_get_date(struct mail *_ma
data->cache_fetch_fields |= MAIL_FETCH_DATE;
if (data->sent_date.time != (uint32_t)-1) {
+ *timezone_r = data->sent_date.timezone;
*date_r = data->sent_date.time;
return 0;
}
More information about the dovecot-cvs
mailing list