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
Родитель 4318e3227f
Коммит 03cc84d3f3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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