projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ambiguity on spotter's SSID
[spider.git]
/
perl
/
DXDupe.pm
diff --git
a/perl/DXDupe.pm
b/perl/DXDupe.pm
index 63fdcb2bb24534a41d7a970961b2edb34937f8d7..b7d2618a9196fd67e94919795edd61ec0cebdc2a 100644
(file)
--- a/
perl/DXDupe.pm
+++ b/
perl/DXDupe.pm
@@
-46,9
+46,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;
}
@@
-59,8
+59,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;
}