aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2007-08-22 22:43:55 -0400
committerpabs <pabs@pablotron.org>2007-08-22 22:43:55 -0400
commit2ae68bb6c209c768e44ab6b698bc9c162e49d85d (patch)
treebc38b94de5ab22edd70c1c0d8fae7faf707fdc4c
parent8c37b04bacfdaaaedc736c1f949cdec0c5fa0e26 (diff)
downloadzipstream-php-2ae68bb6c209c768e44ab6b698bc9c162e49d85d.tar.bz2
zipstream-php-2ae68bb6c209c768e44ab6b698bc9c162e49d85d.zip
Fix typos.
-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