From 6b0196b652a6a21cc84bca01cd3d9625ca8ccc75 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Wed, 26 Sep 2001 12:34:30 +0000 Subject: [PATCH] - Fixed error introduced by the macro substitution --- ext/zip/zip.c | 9 +++++---- 1 file 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); + } } /* }}} */ -- 2.50.1