update Changes
[spider.git] / perl / Filter.pm
index 2e1f4555ff78e25fbb66c5aca397ac98bf0535e4..031ec92669a6cd200729d40ddef70d9e58d92e15 100644 (file)
@@ -220,12 +220,12 @@ sub it
 
        if (isdbg('filter')) {
                my $args = join '\',\'', @_;
-               my $true = $r ? "OK" : "REJ";
+               my $true = $r ? "OK " : "REJ";
                my $sort = $self->{sort};
                my $dir = $self->{name} =~ /^in_/i ? "IN " : "OUT";
                
-               $hops ||= "none";
-               dbg("$dir: $type/$sort with $asc on '$args': $true hops: $hops") if isdbg('filter');
+               my $h = $hops || '';
+               dbg("$true $dir: $type/$sort with $asc on '$args' $h") if isdbg('filter');
        }
        return ($r, $hops);
 }