projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea783c6
)
fix weird sprintf error in AnnTalk dbging
author
Dirk Koopman
<djk@tobit.co.uk>
Fri, 24 Apr 2020 23:54:22 +0000
(
00:54
+0100)
committer
Dirk Koopman
<djk@tobit.co.uk>
Fri, 24 Apr 2020 23:54:22 +0000
(
00:54
+0100)
Specifically:
Invalid conversion in sprintf: "% -35 " at /spider/perl/DXProtHandle.pm line 2016.
perl/DXProtHandle.pm
patch
|
blob
|
history
diff --git
a/perl/DXProtHandle.pm
b/perl/DXProtHandle.pm
index 5b213b80d26e1d76aa42b762b798071e4c18e570..d1023270291a4be2209741b4d5197c9f63b4974f 100644
(file)
--- 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);
}