mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-30 10:38:37 +00:00
Merge branch '3.0'
This commit is contained in:
commit
6e0b98c847
@ -410,7 +410,7 @@ class Stream extends SFTP
|
||||
{
|
||||
switch ($whence) {
|
||||
case SEEK_SET:
|
||||
if ($offset >= $this->size || $offset < 0) {
|
||||
if ($offset < 0) {
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user