aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2007-08-22 23:03:10 -0400
committerpabs <pabs@pablotron.org>2007-08-22 23:03:10 -0400
commit0e0e37b8052c8893a82eb4c9671242a1f5a3221e (patch)
treee10e63074d77b5ba4e5e1b33364ea1564a1d349b
parent0e9483af022432e1dc72ecbd818bad21551b7138 (diff)
downloadzipstream-php-0e0e37b8052c8893a82eb4c9671242a1f5a3221e.tar.bz2
zipstream-php-0e0e37b8052c8893a82eb4c9671242a1f5a3221e.zip
fix format string in pack_fields().
-rw-r--r--zipstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/zipstream.php b/zipstream.php
index bf16c08..eb0a33c 100644
--- a/zipstream.php
+++ b/zipstream.php
@@ -194,7 +194,7 @@ class ZipStream {
function pack_fields($fields) {
# populate format string and argument list
- list ($pack_fmt, $args) = array('', array());
+ list ($fmt, $args) = array('', array());
foreach ($fields as $field) {
$fmt .= $field[0];
$args[] = $field[1];