From 561a7e47cd68429baa9142f7c09c424c8c9ee81a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Mon, 22 Sep 2014 11:33:55 +0200 Subject: [PATCH] return boolean in Ciose::stream_seek --- lib/private/files/stream/close.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5