fix weird sprintf error in AnnTalk dbging
[spider.git] / perl / DXProtHandle.pm
index 5b213b80d26e1d76aa42b762b798071e4c18e570..d1023270291a4be2209741b4d5197c9f63b4974f 100644 (file)
@@ -2013,7 +2013,8 @@ sub handle_93
        }
 
        if (isdbg('progress')) {
-               my $s = sprintf "ANNTALK: $from\@$onode%s -> $to '$text'", $via ne '*' ? " via $via" : '';
+               my $vs = $via ne '*' ? " via $via" : ''; 
+               my $s = "ANNTALK: $from\@$onode$via -> $to '$text'";
                dbg($s);
        }