projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get the xml checking correct!
[spider.git]
/
perl
/
DXXml.pm
diff --git
a/perl/DXXml.pm
b/perl/DXXml.pm
index 00fccde4cddd5f17f0668e55fe935ab6569a1104..c40e3be041ff91c9f468dae81eae238e63b38aba 100644
(file)
--- a/
perl/DXXml.pm
+++ b/
perl/DXXml.pm
@@
-99,11
+99,11
@@
sub normal
dbg("Invalid, non-existant or zero time") if isdbg('chanerr');
return;
}
dbg("Invalid, non-existant or zero time") if isdbg('chanerr');
return;
}
- unless ($t
< $main::systime - $max_old_age || $t >
$main::systime + $max_future_age) {
+ unless ($t
> $main::systime - $max_old_age && $t <
$main::systime + $max_future_age) {
dbg("Too old or too far in the future") if isdbg('chanerr');
return;
}
dbg("Too old or too far in the future") if isdbg('chanerr');
return;
}
- unless (exists $xref->{id} && ($id = $xref->{id}) >= 0 && $id <= 999
9
) {
+ unless (exists $xref->{id} && ($id = $xref->{id}) >= 0 && $id <= 999) {
dbg("Invalid or non-existant id") if isdbg('chanerr');
return;
}
dbg("Invalid or non-existant id") if isdbg('chanerr');
return;
}