summaryrefslogtreecommitdiffstats
path: root/lib/private/files/stream
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-09-22 11:35:42 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-09-22 11:35:42 +0200
commitf83689e1be43aaa6bf2fbac2772868151597911b (patch)
tree9814a2bb50e80717756126f5aa05884c899d884d /lib/private/files/stream
parent561a7e47cd68429baa9142f7c09c424c8c9ee81a (diff)
downloadnextcloud-server-f83689e1be43aaa6bf2fbac2772868151597911b.tar.gz
nextcloud-server-f83689e1be43aaa6bf2fbac2772868151597911b.zip
in quota wrapper use === instead of ! for better readability and as in other wrappers
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() {