projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix spot dupes a bit more so that there is an hour's gap between dupes
[spider.git]
/
perl
/
DXDupe.pm
diff --git
a/perl/DXDupe.pm
b/perl/DXDupe.pm
index d514affde180cc996461eed5c6b7fd79610afdf5..1a0eb14c9de608afca15c330b73155c9704a7411 100644
(file)
--- a/
perl/DXDupe.pm
+++ b/
perl/DXDupe.pm
@@
-44,9
+44,9
@@
sub finish
sub check
{
sub check
{
- my
($s, $t) = @_
;
+ my
$s = shift
;
return 1 if find($s);
return 1 if find($s);
- add($s,
$
t);
+ add($s,
shif
t);
return 0;
}
return 0;
}
@@
-57,8
+57,8
@@
sub find
sub add
{
sub add
{
- my
($s, $t) = @_
;
-
$t = $main::systime + $default unless $
t;
+ my
$s = shift
;
+
my $t = shift || $main::systime + $defaul
t;
$d{$s} = $t;
}
$d{$s} = $t;
}