mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-05 21:17:53 +00:00
SSH2: fix pre-PHP 5.4 syntax error
This commit is contained in:
parent
888867e7b6
commit
dac83d206e
@ -4209,7 +4209,7 @@ class Net_SSH2
|
|||||||
$header = '';
|
$header = '';
|
||||||
} else {
|
} else {
|
||||||
$this->regenerate_compression_context = false;
|
$this->regenerate_compression_context = false;
|
||||||
$this->compress_context = deflate_init(ZLIB_ENCODING_RAW, ['window' => 15]);
|
$this->compress_context = deflate_init(ZLIB_ENCODING_RAW, array('window' => 15));
|
||||||
$header = "\x78\x9C";
|
$header = "\x78\x9C";
|
||||||
}
|
}
|
||||||
if ($this->compress_context) {
|
if ($this->compress_context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user