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