cvs: php4 /main output.c

From: Date: Fri, 04 Oct 2002 17:11:36 +0000
Subject: cvs: php4 /main output.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14531@lists.php.net to get a copy of this message
helly Fri Oct 4 13:11:36 2002 EDT Modified files: /php4/main output.c Log: suggest paranthesis around || and && Index: php4/main/output.c diff -u php4/main/output.c:1.138 php4/main/output.c:1.139 --- php4/main/output.c:1.138 Thu Oct 3 09:32:01 2002 +++ php4/main/output.c Fri Oct 4 13:11:35 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: output.c,v 1.138 2002/10/03 13:32:01 yohgaki Exp $ */ +/* $Id: output.c,v 1.139 2002/10/04 17:11:35 helly Exp $ */ #include "php.h" #include "ext/standard/head.h" @@ -591,9 +591,9 @@ memcpy(target, text, text_length); target[text_length]=0; - /* If implicit_flush is On, send contents to next buffer and return. */ - if (OG(implicit_flush) || OG(active_ob_buffer).chunk_size - && OG(active_ob_buffer).text_length >= OG(active_ob_buffer).chunk_size) + /* If implicit_flush is On or chunked buffering, send contents to next buffer and return. */ + if (OG(implicit_flush) || (OG(active_ob_buffer).chunk_size + && OG(active_ob_buffer).text_length >= OG(active_ob_buffer).chunk_size)) { zval *output_handler = OG(active_ob_buffer).output_handler;

« previous php.cvs (#14531) next »