dovecot: index_mail_get_date() didn't return timezone if date wa...

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 21 18:57:11 EET 2008


details:   http://hg.dovecot.org/dovecot/rev/24470b86ee63
changeset: 7277:24470b86ee63
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 21 18:58:37 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 6e7db5f06497 -r 24470b86ee63 src/lib-storage/index/index-mail.c
--- a/src/lib-storage/index/index-mail.c	Thu Feb 21 18:17:56 2008 +0200
+++ b/src/lib-storage/index/index-mail.c	Thu Feb 21 18:58:37 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