diff src/lib-lda/mail-deliver.h @ 21548:22a63dda10f0

lib-lda: Redesign mail_deliver_context.var_expand_table cache
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 17 Feb 2017 11:25:49 +0200
parents 4db73d3fb3ff
children 8351a4c497cc
line wrap: on
line diff
--- a/src/lib-lda/mail-deliver.h	Wed Apr 27 13:06:52 2016 +0300
+++ b/src/lib-lda/mail-deliver.h	Fri Feb 17 11:25:49 2017 +0200
@@ -55,8 +55,8 @@
 	   the mailbox. */
 	struct mail *dest_mail;
 
-	/* mail_deliver_log() caches the var expand table here */
-	struct var_expand_table *var_expand_table;
+	/* mail_deliver_log() caches the var expand table values here */
+	struct mail_deliver_cache *cache;
 
 	/* Error message for a temporary failure. This is necessary only when
 	   there is no storage where to get the error message from. */