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;
}