From 8e0651308c344c58bdc29647bd16e20983ffe69b Mon Sep 17 00:00:00 2001 From: terrafrost Date: Wed, 12 Jun 2019 22:08:48 -0500 Subject: [PATCH] SSH2: _close_channel -> close_channel --- 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 16d9f04d..9d1ba87d 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -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;