projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa6a71
)
squash some warnings
author
Dirk Koopman
<djk@tobit.co.uk>
Fri, 8 May 2020 15:26:05 +0000
(16:26 +0100)
committer
Dirk Koopman
<djk@tobit.co.uk>
Fri, 8 May 2020 15:26:05 +0000
(16:26 +0100)
perl/DXProtHandle.pm
patch
|
blob
|
history
diff --git
a/perl/DXProtHandle.pm
b/perl/DXProtHandle.pm
index 40271df7965877b6c4217b5ef5e1c36a1fef5006..cd6a7518348d007968a25cea940334d27db2dfee 100644
(file)
--- a/
perl/DXProtHandle.pm
+++ b/
perl/DXProtHandle.pm
@@
-224,9
+224,11
@@
sub handle_11
# add it
Spot::add(@spot);
- my $ip = $spot[14] if exists $spot[14];
+ my $ip = '';
+ $ip ||= $spot[14] if exists $spot[14];
if (isdbg('progress')) {
my $sip = $ip ? sprintf "($ip)" : '' unless $ip =~ m|[\(\)\*]|;
+ $sip ||= '';
my $d = ztime($spot[2]);
my $s = "SPOT: $spot[1] on $spot[0] \@ $d by $spot[4]$sip\@$spot[7]";
$s .= " '$spot[3]'" if $spot[3];