mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 13:01:59 +01:00
SSH2: CS adjustments
This commit is contained in:
parent
7d41903846
commit
539fc1a9b0
@ -3361,7 +3361,7 @@ class SSH2
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
foreach ($this->auth as $auth) {
|
foreach ($this->auth as $auth) {
|
||||||
$result = call_user_func_array(array(&$this, 'login'), $auth);
|
$result = $this->login(...$auth);
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@ -3805,7 +3805,7 @@ class SSH2
|
|||||||
$response = $this->binary_packet_buffer;
|
$response = $this->binary_packet_buffer;
|
||||||
$this->binary_packet_buffer = false;
|
$this->binary_packet_buffer = false;
|
||||||
} else {
|
} else {
|
||||||
$read = array($this->fsock);
|
$read = [$this->fsock];
|
||||||
$write = $except = null;
|
$write = $except = null;
|
||||||
|
|
||||||
if (!$this->curTimeout) {
|
if (!$this->curTimeout) {
|
||||||
@ -3892,7 +3892,7 @@ class SSH2
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
if (!isset($this->channel_buffers[$channel])) {
|
if (!isset($this->channel_buffers[$channel])) {
|
||||||
$this->channel_buffers[$channel] = array();
|
$this->channel_buffers[$channel] = [];
|
||||||
}
|
}
|
||||||
$this->channel_buffers[$channel][] = $data;
|
$this->channel_buffers[$channel][] = $data;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user