diff options
Diffstat (limited to 'src/libserver/spf.c')
-rw-r--r-- | src/libserver/spf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/spf.c b/src/libserver/spf.c index e9c0ebc71..eae35d352 100644 --- a/src/libserver/spf.c +++ b/src/libserver/spf.c @@ -301,6 +301,7 @@ rspamd_spf_record_flatten (struct spf_record *rec) res->elts = g_array_sized_new (FALSE, FALSE, sizeof (struct spf_addr), rec->resolved->len); res->domain = g_strdup (rec->sender_domain); + res->ttl = rec->ttl; REF_INIT_RETAIN (res, rspamd_flatten_record_dtor); top = &g_array_index (rec->resolved, struct spf_resolved_element, 0); |