diff options
author | Derick Rethans <derick@php.net> | 2001-09-26 12:34:30 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2001-09-26 12:34:30 +0000 |
commit | 6b0196b652a6a21cc84bca01cd3d9625ca8ccc75 (patch) | |
tree | 8c56715b326173aca0d85b0cf381c4f6accbcf17 /ext/zip/zip.c | |
parent | 9a4500d0566731ad129ba47bf651aa2e1ec70698 (diff) | |
download | php-git-6b0196b652a6a21cc84bca01cd3d9625ca8ccc75.tar.gz |
- Fixed error introduced by the macro substitution
Diffstat (limited to 'ext/zip/zip.c')
-rw-r--r-- | ext/zip/zip.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c index 76a59d7af2..885cbf3ca0 100644 --- a/ext/zip/zip.c +++ b/ext/zip/zip.c @@ -282,10 +282,11 @@ PHP_FUNCTION(zip_entry_read) buf = emalloc(len + 1); ret = zzip_read(entry->fp, buf, len); - if (ret == 0) - RETURN_FALSE; - else - RETURN_STRINGL(buf, len, 0); + if (ret == 0) { + RETURN_FALSE; + } else { + RETURN_STRINGL(buf, len, 0); + } } /* }}} */ |