return boolean in OC::stream_seek

This commit is contained in:
Jörn Friedrich Dreyer 2014-09-21 22:48:35 +02:00
parent ef6db5e9d7
commit b752cb98d8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class OC {
}
public function stream_seek($offset, $whence = SEEK_SET) {
fseek($this->fileSource, $offset, $whence);
return fseek($this->fileSource, $offset, $whence) === 0;
}
public function stream_tell() {