summaryrefslogtreecommitdiffstats
path: root/lib/private/files/stream
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r--lib/private/files/stream/quota.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/quota.php b/lib/private/files/stream/quota.php
index bb4623b1a7b..cef9d84f560 100644
--- a/lib/private/files/stream/quota.php
+++ b/lib/private/files/stream/quota.php
@@ -83,7 +83,7 @@ class Quota {
}
// this wrapper needs to return "true" for success.
// the fseek call itself returns 0 on succeess
- return !fseek($this->source, $offset, $whence);
+ return fseek($this->source, $offset, $whence) === 0;
}
public function stream_tell() {