projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add uptime cmd, add bells to sh/data
[spider.git]
/
perl
/
DXUtil.pm
diff --git
a/perl/DXUtil.pm
b/perl/DXUtil.pm
index f7e52c9a92cb727e8c5431c4f9cd4d2d63e3d5e7..24fa840ff12962d50273bf7fbf3f99c3fc99cdd8 100644
(file)
--- a/
perl/DXUtil.pm
+++ b/
perl/DXUtil.pm
@@
-539,7
+539,7
@@
sub difft
if (ref $b eq 'ARRAY') {
$t = $b->[1] - $b->[0];
} else {
- if ($adds >= $b) {
+ if ($adds
&& $adds
>= $b) {
$t = $adds - $b;
$adds = shift;
} else {