mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
fix return type of NativeStream seek
This commit is contained in:
parent
77c30c698f
commit
f018d1cd0a
2 changed files with 2 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ class NativeStream implements File {
|
|||
|
||||
public function stream_seek($offset, $whence = SEEK_SET) {
|
||||
$this->eof = false;
|
||||
return $this->state->lseek($this->handle, $offset, $whence);
|
||||
return $this->state->lseek($this->handle, $offset, $whence) !== false;
|
||||
}
|
||||
|
||||
public function stream_stat() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue