1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 15:24:49 -05:00

Fix trivial Perl goof in logparse.pl which caused

SSH2_MSG_CHANNEL_FAILURE to be reported as replying to
ARRAY(0xrubbish) instead of to a message number.

[originally from svn r9472]
This commit is contained in:
Simon Tatham 2012-04-30 17:28:28 +00:00
parent 4318e3227f
commit 03cc84d3f3

View File

@ -414,7 +414,7 @@ my %packets = (
my $otherdir = ($direction eq "i" ? "o" : "i"); my $otherdir = ($direction eq "i" ? "o" : "i");
my $request = shift @{$chan->{'requests_' . $otherdir}}; my $request = shift @{$chan->{'requests_' . $otherdir}};
if (defined $request) { if (defined $request) {
printf " to %s", $request; printf " to %s", $request->[0];
} else { } else {
print " (spurious?)"; print " (spurious?)";
} }