cvs: php4 /ext/zip zip.c
| From: | Sterling Hughes | Date: | Mon, 13 Aug 2001 22:01:41 +0000 |
| Subject: | cvs: php4 /ext/zip zip.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6795@lists.php.net to get a copy of this message | ||
sterling Mon Aug 13 18:01:41 2001 EDT
Modified files:
/php4/ext/zip zip.c
Log:
remove "i"
Index: php4/ext/zip/zip.c
diff -u php4/ext/zip/zip.c:1.13 php4/ext/zip/zip.c:1.14
--- php4/ext/zip/zip.c:1.13 Mon Aug 13 15:31:18 2001
+++ php4/ext/zip/zip.c Mon Aug 13 18:01:39 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zip.c,v 1.13 2001/08/13 19:31:18 zeev Exp $ */
+/* $Id: zip.c,v 1.14 2001/08/13 22:01:39 sterling Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -252,9 +252,8 @@
php_zzip_dirent *entry = NULL;
int mode;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr|i", &zzip_dp,
&zzip_ent, &mode) == FAILURE) {
- return;
- }
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr|s", &zzip_dp,
&zzip_ent, &mode) == FAILURE)
+ return;
ZEND_FETCH_RESOURCE(archive_p, ZZIP_DIR *, zzip_dp, -1, le_zip_dir_name, le_zip_dir);
ZEND_FETCH_RESOURCE(entry, php_zzip_dirent *, zzip_ent, -1, le_zip_entry_name,
le_zip_entry);
@@ -278,7 +277,7 @@
int len = 1024;
int ret = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|i", &zzip_ent, &len)
== FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &zzip_ent, &len)
== FAILURE) {
return;
}