mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
Fixing 'Undefined array key' E_WARNING
This commit is contained in:
parent
2ed74533f4
commit
85c8e916d8
@ -4331,7 +4331,7 @@ class SSH2
|
|||||||
function _send_channel_packet($client_channel, $data)
|
function _send_channel_packet($client_channel, $data)
|
||||||
{
|
{
|
||||||
while (strlen($data)) {
|
while (strlen($data)) {
|
||||||
if (!$this->window_size_client_to_server[$client_channel]) {
|
if (!isset($this->window_size_client_to_server[$client_channel])) {
|
||||||
$this->bitmap^= self::MASK_WINDOW_ADJUST;
|
$this->bitmap^= self::MASK_WINDOW_ADJUST;
|
||||||
// using an invalid channel will let the buffers be built up for the valid channels
|
// using an invalid channel will let the buffers be built up for the valid channels
|
||||||
$this->_get_channel_packet(-1);
|
$this->_get_channel_packet(-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user