]> source.dussan.org Git - nextcloud-server.git/commitdiff
initializing some variables
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 30 Mar 2015 14:24:03 +0000 (16:24 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 7 Apr 2015 11:30:28 +0000 (13:30 +0200)
lib/private/files/stream/encryption.php

index 40cbc1c141a2f2a84a4578e48b8e3b93fcbf4d90..62b2ad9d9afa1f64c90e15fa9851f7d92f575d70 100644 (file)
@@ -270,6 +270,7 @@ class Encryption extends Wrapper {
 
                if ($this->position === 0) {
                        $this->writeHeader();
+                       $this->size+=$this->util->getBlockSize();
                }
 
                $length = 0;