diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-10-25 16:15:01 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-10-25 16:15:01 +0200 |
commit | ebcd9ae6280a7658313a51272dc6cdffe9c17494 (patch) | |
tree | abdcf2a16c86f198491b9d2fb32e26974695065a /lib/private/files/stream | |
parent | c8df27de73f845f6d1661386f06304b7c209e7d7 (diff) | |
download | nextcloud-server-ebcd9ae6280a7658313a51272dc6cdffe9c17494.tar.gz nextcloud-server-ebcd9ae6280a7658313a51272dc6cdffe9c17494.zip |
Added comment for clarification about fseek() call in quota.php
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r-- | lib/private/files/stream/quota.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/files/stream/quota.php b/lib/private/files/stream/quota.php index 87301c23614..60e60da8e67 100644 --- a/lib/private/files/stream/quota.php +++ b/lib/private/files/stream/quota.php @@ -81,6 +81,8 @@ class Quota { } else { $this->limit -= $offset; } + // this wrapper needs to return "true" for success. + // the fseek call itself returns 0 on succeess return !fseek($this->source, $offset, $whence); } |