aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zipstream.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/zipstream.php b/zipstream.php
index 6a7b374..fd307bb 100644
--- a/zipstream.php
+++ b/zipstream.php
@@ -48,10 +48,10 @@ class ZipStream {
$zdata = substr(gzcompress($data), 2, -4);
# calculate header attributes
- $crc = crc32($data));
- $zlen = strlen($zdata));
+ $crc = crc32($data);
+ $zlen = strlen($zdata);
$nlen = strlen($name);
- $len = strlen($data));
+ $len = strlen($data);
# TODO: create unix timestamp