summaryrefslogtreecommitdiffstats
path: root/lib/private/files/stream
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-30 16:24:03 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:28 +0200
commit90487384f77d916ab2dbe495b46bdf5182fb875a (patch)
tree83dbf144ebe6321329ea50f85497078519777c72 /lib/private/files/stream
parent0c48b069ba6cabe16522b72ac276ab266a326e9e (diff)
downloadnextcloud-server-90487384f77d916ab2dbe495b46bdf5182fb875a.tar.gz
nextcloud-server-90487384f77d916ab2dbe495b46bdf5182fb875a.zip
initializing some variables
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r--lib/private/files/stream/encryption.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php
index 40cbc1c141a..62b2ad9d9af 100644
--- a/lib/private/files/stream/encryption.php
+++ b/lib/private/files/stream/encryption.php
@@ -270,6 +270,7 @@ class Encryption extends Wrapper {
if ($this->position === 0) {
$this->writeHeader();
+ $this->size+=$this->util->getBlockSize();
}
$length = 0;