summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-09-22 11:33:55 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-09-22 11:33:55 +0200
commit561a7e47cd68429baa9142f7c09c424c8c9ee81a (patch)
treebe20eebe51ee5c1365bd10ace74383ca532eb455 /lib/private/files
parentb752cb98d819637cc36c9eba9f2c1844e3c5c550 (diff)
downloadnextcloud-server-561a7e47cd68429baa9142f7c09c424c8c9ee81a.tar.gz
nextcloud-server-561a7e47cd68429baa9142f7c09c424c8c9ee81a.zip
return boolean in Ciose::stream_seek
Diffstat (limited to 'lib/private/files')
-rw-r--r--lib/private/files/stream/close.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/close.php b/lib/private/files/stream/close.php
index 0e1f088fcf9..97e45e37ad7 100644
--- a/lib/private/files/stream/close.php
+++ b/lib/private/files/stream/close.php
@@ -29,7 +29,7 @@ class Close {
}
public function stream_seek($offset, $whence = SEEK_SET) {
- fseek($this->source, $offset, $whence);
+ return fseek($this->source, $offset, $whence) === 0;
}
public function stream_tell() {