summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/zip/zip.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c
index fdc551ded5..76a59d7af2 100644
--- a/ext/zip/zip.c
+++ b/ext/zip/zip.c
@@ -260,10 +260,7 @@ PHP_FUNCTION(zip_entry_open)
entry->fp = zzip_file_open(archive_p, entry->dirent.d_name, O_RDONLY | O_BINARY);
- if (entry->fp)
- RETURN_TRUE;
- else
- RETURN_FALSE;
+ RETURN_BOOL(entry->fp);
}
/* }}} */