lose some of the annoying uninitialised msgs
[spider.git] / perl / DXProtHandle.pm
index 4e3480d66cd08bc3fc99d250b7c4a96ee7aad82b..0beabcf224b11d3697bfe76f4d86bab5aa1d1a22 100644 (file)
@@ -969,6 +969,7 @@ sub handle_23
 
        # note this only takes the first one it gets
        Geomag::update($d, $pc->[2], $sfi, $k, $i, @$pc[6..8], $r);
+       dbg("WWV: $d $pc->[2], sfi:$sfi k:$k info:$i $pc->[6] $pc->[7] $pc->[8] $r") if isdbg('progress');
 
        if (defined &Local::wwv) {
                my $rep;
@@ -1372,6 +1373,7 @@ sub handle_73
        }
 
        my $wcy = WCY::update($d, @$pc[2..12]);
+       dbg("WCY: " . join ', ', @$pc[2..12]) if isdbg('progress');
 
        if (defined &Local::wcy) {
                my $rep;
@@ -2013,7 +2015,8 @@ sub handle_93
        }
 
        if (isdbg('progress')) {
-               my $s = sprintf "ANNTALK: to: $to from: $from\@$onode%s '$text'", $via ne '*'?" via $via":'';
+               my $vs = $via ne '*' ? " via $via" : ''; 
+               my $s = "ANNTALK: $from\@$onode$vs -> $to '$text'";
                dbg($s);
        }