projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
all dxdebug to have other directories, add wsjtl.pl
[spider.git]
/
perl
/
DXUtil.pm
diff --git
a/perl/DXUtil.pm
b/perl/DXUtil.pm
index b04cf4905d87435c37e50568c99d48014450264c..5edb1994a3ac80f3d496c6d0bc61b5364cf3abb6 100644
(file)
--- a/
perl/DXUtil.pm
+++ b/
perl/DXUtil.pm
@@
-549,7
+549,7
@@
sub difft
if (ref $b eq 'ARRAY') {
$t = $b->[1] - $b->[0];
} else {
- if ($adds && $adds >= $b) {
+ if ($adds && $adds
=~ /^\d+$/ && $adds
>= $b) {
$t = $adds - $b;
$adds = shift;
} else {