diff options
author | Pierre Joye <pajoye@php.net> | 2009-01-02 00:12:29 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-01-02 00:12:29 +0000 |
commit | ab61e0138e65a20062ae233c25724738cd34cf23 (patch) | |
tree | 2bd164969e3007823e45d076d650c720c44d0898 /ext/zip/php_zip.c | |
parent | 597f0acfaa292e4ca089b1132d9fcedf215c485d (diff) | |
download | php-git-ab61e0138e65a20062ae233c25724738cd34cf23.tar.gz |
- MFH: fix filename property read
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 09b58077f4..de760c1412 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -534,7 +534,7 @@ static int php_zip_property_reader(ze_zip_object *obj, zip_prop_handler *hnd, zv switch (hnd->type) { case IS_STRING: if (retchar) { - ZVAL_STRINGL(*retval, (char *) retchar, len, 1); + ZVAL_STRING(*retval, (char *) retchar, 1); } else { ZVAL_EMPTY_STRING(*retval); } |