projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow sh/qrz to use a http proxy
[spider.git]
/
perl
/
Filter.pm
diff --git
a/perl/Filter.pm
b/perl/Filter.pm
index a37ea0d2d647cc95a45cdb6cdd969f8f25102e3b..5f6b9bf17af397b23cbe6fd98ae2cc3f438df5fd 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(
'err', "Error compiling $ar $sort $name: $@"
);
+ dbg(
"Error compiling $ar $sort $name: $@") if isdbg('err'
);
Log('err', "Error compiling $ar $sort $name: $@");
}
$rr = $@;
Log('err', "Error compiling $ar $sort $name: $@");
}
$rr = $@;
@@
-107,7
+107,7
@@
sub read_in
$in = undef;
my $s = readfilestr($fn);
my $newin = eval $s;
$in = undef;
my $s = readfilestr($fn);
my $newin = eval $s;
- dbg(
'conn', "$@"
) if $@;
+ dbg(
$@
) if $@;
if ($in) {
$newin = new('Filter::Old', $sort, $call, $flag);
$newin->{filter} = $in;
if ($in) {
$newin = new('Filter::Old', $sort, $call, $flag);
$newin->{filter} = $in;
@@
-223,7
+223,7
@@
sub it
my $true = $r ? "OK" : "REJ";
my $sort = $self->{sort};
$hops ||= "none";
my $true = $r ? "OK" : "REJ";
my $sort = $self->{sort};
$hops ||= "none";
- dbg(
'filter', "Filter: $type/$sort with $asc on '$args': $true hops: $hops"
);
+ dbg(
"Filter: $type/$sort with $asc on '$args': $true hops: $hops") if isdbg('filter'
);
}
return ($r, $hops);
}
}
return ($r, $hops);
}