changed the default DXVars.pm.issue debug
authorDirk Koopman <djk@tobit.co.uk>
Fri, 24 Apr 2020 10:52:56 +0000 (11:52 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Fri, 24 Apr 2020 10:52:56 +0000 (11:52 +0100)
perl/DXProtHandle.pm
perl/DXVars.pm.issue

index 82e906037c085ff42fb49f34e9b3f7db8565423d..fdc0b0543aa102e41a7b4ee8529e875e8580e503 100644 (file)
@@ -225,9 +225,10 @@ sub handle_11
        Spot::add(@spot);
 
        if (isdbg('progress')) {
-               my $s = sprintf "SPOT: $spot[1] on $spot[0] \@ %s by $spot[4]\@$spot[7]", cldatetime($spot[2]);
+               my $ip = '';
+               $ip = sprintf "($spot[14])" if $spot[14]; 
+               my $s = sprintf "SPOT: $spot[1] on $spot[0] \@ %s by $spot[4]$ip\@$spot[7]", cldatetime($spot[2]);
                $s .= " '$spot[3]'" if $spot[3];
-               $s .= " from ip $spot[14]" if $spot[14];
                dbg($s);
        }
        
index ed19470c478a8d1bac7295effc81746f5f124015..afc8dbf7ff36b1da637d0501d001e731c7845588 100644 (file)
@@ -43,7 +43,7 @@ $myemail = "qqq@gmail.com";
 @my_cc = qw();
 
 # are we debugging ?
-@debug = qw(chan state msg cron connect);
+@debug = qw(chan state msg cron connect progress nologchan);
 
 # are we doing xml?
 $do_xml = 0;