Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.
The following page has been changed by DarylOshea:
http://wiki.apache.org/spamassassin/WrongMXPlugin
The comment on the change is:
fix undef issue
------------------------------------------------------------------------------
# if there is only one received header we can bail
my $times_ref = ($permsgstatus->{received_header_times});
- return 0 if (scalar(@$times_ref) < 2); # if it only hit one server were done
+ return 0 if (!defined($times_ref) || scalar(@$times_ref) < 2); # if it only hit one server we're done
# next we need the recipient domain's MX records... who's the recipient
my $recipient_domain;
You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.
The following page has been changed by DarylOshea:
http://wiki.apache.org/spamassassin/WrongMXPlugin
The comment on the change is:
fix undef issue
------------------------------------------------------------------------------
# if there is only one received header we can bail
my $times_ref = ($permsgstatus->{received_header_times});
- return 0 if (scalar(@$times_ref) < 2); # if it only hit one server were done
+ return 0 if (!defined($times_ref) || scalar(@$times_ref) < 2); # if it only hit one server we're done
# next we need the recipient domain's MX records... who's the recipient
my $recipient_domain;