From e0b5f7d9f2710d75fd0b64ce0d234d32032240ed Mon Sep 17 00:00:00 2001 From: pabs Date: Thu, 23 Aug 2007 01:41:11 -0400 Subject: fix filename length in cdr recs. --- zipstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zipstream.php') 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 -- cgit v1.2.3