From 0ece4187fe1d9f4547cb262d91af55f17bea200c Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Sat, 25 Apr 2020 00:54:22 +0100 Subject: [PATCH] fix weird sprintf error in AnnTalk dbging Specifically: Invalid conversion in sprintf: "% -35 " at /spider/perl/DXProtHandle.pm line 2016. --- perl/DXProtHandle.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.43.0