1
0
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:
Andreas Fischer 2013-07-27 15:55:02 +02:00
parent d714dd35f0
commit 25a60ff9a3

View File

@ -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(