mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-18 03:05:11 +00:00
SFTP: CS adjustments
This commit is contained in:
parent
411d09cb7a
commit
6aa6a5241f
@ -2385,7 +2385,7 @@ class SFTP extends SSH2
|
|||||||
if ($local_start >= 0) {
|
if ($local_start >= 0) {
|
||||||
fseek($fp, $local_start);
|
fseek($fp, $local_start);
|
||||||
$size-= $local_start;
|
$size-= $local_start;
|
||||||
} elseif ($mode & NET_SFTP_RESUME) {
|
} elseif ($mode & self::RESUME) {
|
||||||
fseek($fp, $offset);
|
fseek($fp, $offset);
|
||||||
$size-= $offset;
|
$size-= $offset;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user