mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-04 18:48:24 +01:00
SFTP: Fix syntax error "unexpected T_SL, expecting ',' or ';'".
Regression from d95f5946eb
.
This commit is contained in:
parent
d714dd35f0
commit
25a60ff9a3
@ -251,7 +251,7 @@ class Net_SFTP extends Net_SSH2 {
|
||||
* @var Array
|
||||
* @access private
|
||||
*/
|
||||
var $max_sftp_packet = 1 << 20;
|
||||
var $max_sftp_packet;
|
||||
|
||||
/**
|
||||
* Default Constructor.
|
||||
@ -272,6 +272,9 @@ class Net_SFTP extends Net_SSH2 {
|
||||
case 'SSH-2.0-ROSSSH':
|
||||
// PuTTY uses this as the size
|
||||
$this->max_sftp_packet = 1 << 15;
|
||||
break;
|
||||
default:
|
||||
$this->max_sftp_packet = 1 << 20;
|
||||
}
|
||||
|
||||
$this->packet_types = array(
|
||||
|
Loading…
Reference in New Issue
Block a user