summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-10-04 17:11:35 +0000
committerMarcus Boerger <helly@php.net>2002-10-04 17:11:35 +0000
commit518e61de97699f74c982e72d78288f9331cacfe0 (patch)
tree37b27134e4782547c1deb4cf08f8ea72fdf0cbc8
parente6e2c1c70d4590823d60e55fd49ca233ec27d93d (diff)
downloadphp-git-518e61de97699f74c982e72d78288f9331cacfe0.tar.gz
suggest paranthesis around || and &&
-rw-r--r--main/output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/output.c b/main/output.c
index a644ba75df..47f63edf00 100644
--- a/main/output.c
+++ b/main/output.c
@@ -591,9 +591,9 @@ static inline void php_ob_append(const char *text, uint text_length TSRMLS_DC)
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;