]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix trivial Perl goof in logparse.pl which caused
authorSimon Tatham <anakin@pobox.com>
Mon, 30 Apr 2012 17:28:28 +0000 (17:28 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 30 Apr 2012 17:28:28 +0000 (17:28 +0000)
SSH2_MSG_CHANNEL_FAILURE to be reported as replying to
ARRAY(0xrubbish) instead of to a message number.

[originally from svn r9472]

contrib/logparse.pl

index 29043baee05800ce3cf6a473b4b790223574e89f..a3d828408b62721c5b7b546545a30560693b2c5e 100755 (executable)
@@ -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?)";
         }