cvs: php4(PHP_4_0_7) /ext/zip zip.c

From: Date: Fri, 19 Oct 2001 08:04:24 +0000
Subject: cvs: php4(PHP_4_0_7) /ext/zip zip.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7860@lists.php.net to get a copy of this message
derick Fri Oct 19 04:04:24 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/ext/zip zip.c Log: - MFH Index: php4/ext/zip/zip.c diff -u php4/ext/zip/zip.c:1.15.2.2 php4/ext/zip/zip.c:1.15.2.3 --- php4/ext/zip/zip.c:1.15.2.2 Thu Oct 11 19:52:14 2001 +++ php4/ext/zip/zip.c Fri Oct 19 04:04:24 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zip.c,v 1.15.2.2 2001/10/11 23:52:14 ssb Exp $ */ +/* $Id: zip.c,v 1.15.2.3 2001/10/19 08:04:24 derick Exp $ */ #include "php.h" #include "php_ini.h" @@ -288,10 +288,11 @@ 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); + } } /* }}} */

« previous php.cvs (#7860) next »