fix weird sprintf error in AnnTalk dbging
[spider.git] / perl / DXProtHandle.pm
index 4e3480d66cd08bc3fc99d250b7c4a96ee7aad82b..d1023270291a4be2209741b4d5197c9f63b4974f 100644 (file)
@@ -2013,7 +2013,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$via -> $to '$text'";
                dbg($s);
        }