1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 09:38:06 +01:00

SFTP: CS adjustments

This commit is contained in:
terrafrost 2023-07-02 10:46:34 -05:00
parent 411d09cb7a
commit 6aa6a5241f

View File

@ -2385,7 +2385,7 @@ class SFTP extends SSH2
if ($local_start >= 0) {
fseek($fp, $local_start);
$size-= $local_start;
} elseif ($mode & NET_SFTP_RESUME) {
} elseif ($mode & self::RESUME) {
fseek($fp, $offset);
$size-= $offset;
}