1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
This commit is contained in:
Pierre Joye
2009-07-19 15:02:02 +00:00
parent 67df4f64dd
commit bd6c9dbbcd

View File

@@ -69,11 +69,11 @@ zip_open(const char *fn, int flags, int *zep)
if (flags & ZIP_OVERWRITE) {
return _zip_allocate_new(fn, zep);
}
switch (_zip_file_exists(fn, flags, zep)) {
case -1:
if (!(flags & ZIP_OVERWRITE)) {
return NULL;
return NULL;
}
case 0: