projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
staging commt for badword and badip
[spider.git]
/
perl
/
DXProt.pm
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 67dc56632d80b4d2e06abcb509daa2d239c7c71e..ac675f7cafefa6496064a65172c27a9a6bc32e88 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-1082,7
+1082,7
@@
sub get_hops
{
my $pcno = shift;
my $hops = $DXProt::hopcount{$pcno};
{
my $pcno = shift;
my $hops = $DXProt::hopcount{$pcno};
- $hops = $DXProt::def_hopcount
if !
$hops;
+ $hops = $DXProt::def_hopcount
unless
$hops;
return "H$hops";
}
return "H$hops";
}