From: Dirk Koopman Date: Fri, 24 Apr 2020 23:54:22 +0000 (+0100) Subject: fix weird sprintf error in AnnTalk dbging X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ece4187fe1d9f4547cb262d91af55f17bea200c;p=spider.git fix weird sprintf error in AnnTalk dbging Specifically: Invalid conversion in sprintf: "% -35 " at /spider/perl/DXProtHandle.pm line 2016. --- diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 5b213b80..d1023270 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -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); }