From: Thomas Müller Date: Mon, 30 Mar 2015 14:24:03 +0000 (+0200) Subject: initializing some variables X-Git-Tag: v8.1.0alpha1~78^2~87 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=90487384f77d916ab2dbe495b46bdf5182fb875a;p=nextcloud-server.git initializing some variables --- 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;