SSH2: _close_channel -> close_channel

This commit is contained in:
terrafrost 2019-06-12 22:08:48 -05:00
parent 988d37e479
commit 8e0651308c

View File

@ -3591,7 +3591,7 @@ class SSH2
// on windows this returns a "Warning: Invalid CRT parameters detected" error
if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) {
$this->is_timeout = true;
$this->_close_channel($client_channel);
$this->close_channel($client_channel);
return true;
}
$elapsed = microtime(true) - $start;