[Dxspider-support] bug in Spot::formatb
Filip Jonckers
fjonckers at Interconnect.be
Mon Nov 12 09:38:36 GMT 2001
Dirk,
probably a very small bug...
but could be a possible source of dupe spots
if someone has a user connection to a spider
saw this spot:
DX de VR2XMT: 50150.0 GM0PLH noise here QSY back 160
0925Z
DX de ON4NA: 21253.6 JH4TEW KAZU INNOSHIMA ISL AS 117 IF N
0927Z
DX de F8TSV: 14023.1 VK3XU cw >50w 599
0926Z
noticed that the text of the ON4NA spot was 1 char too long
looking at the code, there is no maximum length defined
perl/Spot.pm line 276:
return sprintf "DX de %-7.7s%11.1f %-12.12s %-29s %s$loc", "$_[4]:",
$_[0], $_[1], $_[3], $t ;
should probably be:
return sprintf "DX de %-7.7s%11.1f %-12.12s %-29.29s %s$loc", "$_[4]:",
$_[0], $_[1], $_[3], $t ;
You see Dirk, I'm already going through a lot of code...
b.t.w. very nice written !
Filip
on1afn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.tobit.co.uk/pipermail/dxspider-support/attachments/20011112/1344c0fd/attachment.html
More information about the Dxspider-support
mailing list