From: Derick Rethans Date: Wed, 26 Sep 2001 12:34:30 +0000 (+0000) Subject: - Fixed error introduced by the macro substitution X-Git-Tag: php4~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b0196b652a6a21cc84bca01cd3d9625ca8ccc75;p=php - Fixed error introduced by the macro substitution --- 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); + } } /* }}} */