aboutsummaryrefslogtreecommitdiff
path: root/zipstream.php
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2009-01-29 13:19:50 -0500
committerpabs <pabs@pablotron.org>2009-01-29 13:19:50 -0500
commit7003089f57d3f855ff53782639b96cb58affb8f8 (patch)
tree31708597f9f57cba7a1e001a66d2398522c4daf6 /zipstream.php
parent11a3412e0f07f57a1fecf1b505a489c4db085447 (diff)
downloadzipstream-php-7003089f57d3f855ff53782639b96cb58affb8f8.tar.bz2
zipstream-php-7003089f57d3f855ff53782639b96cb58affb8f8.zip
fix typo
Diffstat (limited to 'zipstream.php')
-rw-r--r--zipstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/zipstream.php b/zipstream.php
index e0790b6..077a9ff 100644
--- a/zipstream.php
+++ b/zipstream.php
@@ -283,7 +283,7 @@ class ZipStream {
function add_file_header($name, $opt, $meth, $crc, $zlen, $len) {
# strip leading slashes from file name
# (fixes bug in windows archive viewer)
- $name = preg_replace('/^\\/+/', '', $name)
+ $name = preg_replace('/^\\/+/', '', $name);
# calculate name length
$nlen = strlen($name);