summaryrefslogtreecommitdiffstats
path: root/lib/private/files/stream
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-09-21 22:48:35 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-09-22 11:20:15 +0200
commitb752cb98d819637cc36c9eba9f2c1844e3c5c550 (patch)
tree2684b2ecda0eb1d082effcc734c7ddc6e0e92016 /lib/private/files/stream
parentef6db5e9d7a20fe85f2758881b67d6c63f378ca4 (diff)
downloadnextcloud-server-b752cb98d819637cc36c9eba9f2c1844e3c5c550.tar.gz
nextcloud-server-b752cb98d819637cc36c9eba9f2c1844e3c5c550.zip
return boolean in OC::stream_seek
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r--lib/private/files/stream/oc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/oc.php b/lib/private/files/stream/oc.php
index c206b41f55e..8c3531638ec 100644
--- a/lib/private/files/stream/oc.php
+++ b/lib/private/files/stream/oc.php
@@ -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() {