]> granicus.if.org Git - php/commitdiff
- Fixed error introduced by the macro substitution
authorDerick Rethans <derick@php.net>
Wed, 26 Sep 2001 12:34:30 +0000 (12:34 +0000)
committerDerick Rethans <derick@php.net>
Wed, 26 Sep 2001 12:34:30 +0000 (12:34 +0000)
ext/zip/zip.c

index 76a59d7af2f19090b22edfef59c8083851d0a923..885cbf3ca02d9f9fc6695b8c3303561ba593d7d4 100644 (file)
@@ -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);
+       }
 }
 /* }}} */