https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6515

Mark Zealey <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Mark Zealey <[email protected]> 2010-11-22 07:08:47 
UTC ---
Sorry the logic in that code is messed up it should read:

  my $master_deadline;

  # Passed in at function call
  if (ref $suppl_attrib && exists $suppl_attrib->{master_deadline}) {
    $master_deadline = $suppl_attrib->{master_deadline};  # may be undef
  }

  # found in config file - overrides passed in number if lower.
  if ($self->{conf}->{time_limit}) {  # defined and nonzero
    my $time_limit_deadline = $start_time + $self->{conf}->{time_limit};

    if( ! defined $master_deadline || $master_deadline > $time_limit_deadline )
{
      $master_deadline = $time_limit_deadline
    }
  }

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to