SSH2: syntax error

This commit is contained in:
terrafrost 2020-12-16 09:10:35 -06:00
parent 8d567cdf29
commit 0399faa86b

View File

@ -3761,7 +3761,7 @@ class Net_SSH2
$this->binary_packet_buffer = false; $this->binary_packet_buffer = false;
} else { } else {
$response = $this->_get_binary_packet(true); $response = $this->_get_binary_packet(true);
if ($response === true && $this->is_timeout)) { if ($response === true && $this->is_timeout) {
if ($client_channel == NET_SSH2_CHANNEL_EXEC && !$this->request_pty) { if ($client_channel == NET_SSH2_CHANNEL_EXEC && !$this->request_pty) {
$this->_close_channel($client_channel); $this->_close_channel($client_channel);
} }