From 47e1ce60b316c49bd6c49c947731681598ddeed2 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Wed, 16 Dec 2020 09:13:05 -0600 Subject: [PATCH] SSH2: syntax error --- phpseclib/Net/SSH2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 76ce6357..f7a099a8 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -3689,7 +3689,7 @@ class SSH2 $this->binary_packet_buffer = false; } else { $response = $this->get_binary_packet(true); - if ($response === true && $this->is_timeout) + if ($response === true && $this->is_timeout) { if ($client_channel == self::CHANNEL_EXEC && !$this->request_pty) { $this->close_channel($client_channel); }