summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip_file_get_offset.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-02-01 20:56:03 +0000
committerPierre Joye <pajoye@php.net>2010-02-01 20:56:03 +0000
commit67acdd2c096e2b3678df93b24bb735b5d450af09 (patch)
treea2378c6a781c9e2525c6c7f70234ebe2fe8e7cf4 /ext/zip/lib/zip_file_get_offset.c
parent36dee72deb8bbb7179d63f33ab342c0008cdaa17 (diff)
downloadphp-git-67acdd2c096e2b3678df93b24bb735b5d450af09.tar.gz
- update to 0.9.3
Diffstat (limited to 'ext/zip/lib/zip_file_get_offset.c')
-rw-r--r--ext/zip/lib/zip_file_get_offset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/lib/zip_file_get_offset.c b/ext/zip/lib/zip_file_get_offset.c
index 68f92f1fe6..b96fd5e480 100644
--- a/ext/zip/lib/zip_file_get_offset.c
+++ b/ext/zip/lib/zip_file_get_offset.c
@@ -63,7 +63,7 @@ _zip_file_get_offset(struct zip *za, int idx)
return 0;
}
- if (_zip_dirent_read(&de, za->zp, NULL, 0, 1, &za->error) != 0)
+ if (_zip_dirent_read(&de, za->zp, NULL, NULL, 1, &za->error) != 0)
return 0;
offset += LENTRYSIZE + de.filename_len + de.extrafield_len;