]> source.dussan.org Git - nextcloud-server.git/commitdiff
Chunk size comment should say kB, not MB
authorMichael Gapczynski <mtgap@owncloud.com>
Sun, 3 Mar 2013 17:03:26 +0000 (12:03 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sun, 3 Mar 2013 17:03:26 +0000 (12:03 -0500)
lib/files/view.php

index f48d0c8b225153b2039421e515bf0dfa184122c8..3e2cb080e1dbd745bd5e666078ba5fca7841981c 100644 (file)
@@ -199,7 +199,7 @@ class View {
                @ob_end_clean();
                $handle = $this->fopen($path, 'rb');
                if ($handle) {
-                       $chunkSize = 8192; // 8 MB chunks
+                       $chunkSize = 8192; // 8 kB chunks
                        while (!feof($handle)) {
                                echo fread($handle, $chunkSize);
                                flush();