diff options
author | pabs <pabs@pablotron.org> | 2007-08-23 01:41:11 -0400 |
---|---|---|
committer | pabs <pabs@pablotron.org> | 2007-08-23 01:41:11 -0400 |
commit | e0b5f7d9f2710d75fd0b64ce0d234d32032240ed (patch) | |
tree | 25a21d0cff39b312b107213c9aad6847b6a3595a /zipstream.php | |
parent | 53c7d09132d275b524b0540b8c6df00c849c4dae (diff) | |
download | zipstream-php-e0b5f7d9f2710d75fd0b64ce0d234d32032240ed.tar.bz2 zipstream-php-e0b5f7d9f2710d75fd0b64ce0d234d32032240ed.zip |
fix filename length in cdr recs.
Diffstat (limited to 'zipstream.php')
-rw-r--r-- | zipstream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zipstream.php b/zipstream.php index ec3c407..243708c 100644 --- a/zipstream.php +++ b/zipstream.php @@ -135,7 +135,7 @@ class ZipStream { array('V', $crc), # crc32 of data array('V', $zlen), # compressed data length array('V', $len), # uncompressed data length - array('v', $nlen), # filename length + array('v', strlen($name)), # filename length array('v', 0), # extra data len array('v', 0), # file comment length array('v', 0), # disk number start |