summaryrefslogtreecommitdiff
path: root/zipstream.php
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2007-08-23 01:25:27 -0400
committerpabs <pabs@pablotron.org>2007-08-23 01:25:27 -0400
commitdb81860c7c2c1bc7a68d94d62852929f80afc123 (patch)
treeae99bafe944542f41a3a16a1713e84fab55f0b56 /zipstream.php
parenta6ff252e4fe463923b0ecb98f323a646efc7f11b (diff)
downloadzipstream-php-db81860c7c2c1bc7a68d94d62852929f80afc123.tar.bz2
zipstream-php-db81860c7c2c1bc7a68d94d62852929f80afc123.zip
fix crc names.
Diffstat (limited to 'zipstream.php')
-rw-r--r--zipstream.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/zipstream.php b/zipstream.php
index 43e847a..8a6d67f 100644
--- a/zipstream.php
+++ b/zipstream.php
@@ -116,12 +116,12 @@ class ZipStream {
###################
function add_to_cdr($name, $time, $crc, $zlen, $len, $rec_len) {
- $this->files[] = array($name, $time, $crc32, $zlen, $len, $this->ofs);
+ $this->files[] = array($name, $time, $crc, $zlen, $len, $this->ofs);
$this->ofs += $rec_len;
}
function add_cdr_file($args) {
- list ($name, $time, $crc32, $zlen, $len, $ofs) = $args;
+ list ($name, $time, $crc, $zlen, $len, $ofs) = $args;
$fields = array( # (from V,F of APPNOTE.TXT)
array('V', 0x02014b50), # central file header signature