summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-26 09:09:40 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-26 09:09:40 +0000
commit23a942c7956e131d9518a130d54fb8025d953ae6 (patch)
tree162f27365feb4e2a90e14a2bb0b044444eccc36c
parent0729948990160278dae99d56b05ceaef399b4fc3 (diff)
downloadphp-git-23a942c7956e131d9518a130d54fb8025d953ae6.tar.gz
Fix build
-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);
}
/* }}} */