From b53bf462801aa36901059b98035355951a215124 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 9 Aug 2021 15:58:38 +0100 Subject: [PATCH] [Minor] Dmarc_report: Fix return type --- lualib/rspamadm/dmarc_report.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/rspamadm/dmarc_report.lua b/lualib/rspamadm/dmarc_report.lua index 1b0bc7f24..f459b5064 100644 --- a/lualib/rspamadm/dmarc_report.lua +++ b/lualib/rspamadm/dmarc_report.lua @@ -491,7 +491,7 @@ local function prepare_report(opts, start_time, rep_key) {'DEL', rep_key}) end logger.messagex('Cannot process reports for domain %s; invalid dmarc record', reporting_domain) - return 0 + return nil end -- Get all reports for a domain -- 2.39.5