projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0580815
)
add in and out to filter debugging
author
minima
<minima>
Fri, 15 Jun 2001 11:38:09 +0000
(11:38 +0000)
committer
minima
<minima>
Fri, 15 Jun 2001 11:38:09 +0000
(11:38 +0000)
perl/Filter.pm
patch
|
blob
|
history
diff --git
a/perl/Filter.pm
b/perl/Filter.pm
index 5f6b9bf17af397b23cbe6fd98ae2cc3f438df5fd..676cef2b61a12c5c96cb7e956e1ab0a3a8891627 100644
(file)
--- a/
perl/Filter.pm
+++ b/
perl/Filter.pm
@@
-89,7
+89,7
@@
sub compile
if ($@) {
my $sort = $ref->{sort};
my $name = $ref->{name};
if ($@) {
my $sort = $ref->{sort};
my $name = $ref->{name};
- dbg("Error compiling $ar $sort $name: $@")
if isdbg('err')
;
+ dbg("Error compiling $ar $sort $name: $@");
Log('err', "Error compiling $ar $sort $name: $@");
}
$rr = $@;
Log('err', "Error compiling $ar $sort $name: $@");
}
$rr = $@;
@@
-222,8
+222,10
@@
sub it
my $args = join '\',\'', @_;
my $true = $r ? "OK" : "REJ";
my $sort = $self->{sort};
my $args = join '\',\'', @_;
my $true = $r ? "OK" : "REJ";
my $sort = $self->{sort};
+ my $dir = $self->{name} ~= /^in_/i ? "IN " : "OUT";
+
$hops ||= "none";
$hops ||= "none";
- dbg("
Filte
r: $type/$sort with $asc on '$args': $true hops: $hops") if isdbg('filter');
+ dbg("
$di
r: $type/$sort with $asc on '$args': $true hops: $hops") if isdbg('filter');
}
return ($r, $hops);
}
}
return ($r, $hops);
}