You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2018/10/28 11:19:13 UTC

svn commit: r1845016 - /spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm

Author: hege
Date: Sun Oct 28 11:19:13 2018
New Revision: 1845016

URL: http://svn.apache.org/viewvc?rev=1845016&view=rev
Log:
Fix dns_block_rule logic

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm?rev=1845016&r1=1845015&r2=1845016&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm Sun Oct 28 11:19:13 2018
@@ -371,7 +371,8 @@ sub bgsend_and_start_lookup {
         if ($dns_query_blockages) {
           $blocked = $dns_query_blockages->{$parent_domain};
           last if defined $blocked; # stop at first defined, can be true or false
-        } elsif ($dns_block_domains->{$parent_domain}) {
+        }
+        if (exists $dns_block_domains->{$parent_domain}) {
           # save for later check.. ps. untainted already
           $check_dbrdom = $dns_block_domains->{$parent_domain};
         }