From: Vsevolod Stakhov Date: Mon, 9 Aug 2021 14:58:38 +0000 (+0100) Subject: [Minor] Dmarc_report: Fix return type X-Git-Tag: 3.0~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b53bf462801aa36901059b98035355951a215124;p=thirdparty%2Frspamd.git [Minor] Dmarc_report: Fix return type --- diff --git a/lualib/rspamadm/dmarc_report.lua b/lualib/rspamadm/dmarc_report.lua index 1b0bc7f24a..f459b50647 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