Skip to content

Commit 518e61d

Browse files
committed
suggest paranthesis around || and &&
1 parent e6e2c1c commit 518e61d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main/output.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,9 +591,9 @@ static inline void php_ob_append(const char *text, uint text_length TSRMLS_DC)
591591
memcpy(target, text, text_length);
592592
target[text_length]=0;
593593

594-
/* If implicit_flush is On, send contents to next buffer and return. */
595-
if (OG(implicit_flush) || OG(active_ob_buffer).chunk_size
596-
&& OG(active_ob_buffer).text_length >= OG(active_ob_buffer).chunk_size)
594+
/* If implicit_flush is On or chunked buffering, send contents to next buffer and return. */
595+
if (OG(implicit_flush) || (OG(active_ob_buffer).chunk_size
596+
&& OG(active_ob_buffer).text_length >= OG(active_ob_buffer).chunk_size))
597597
{
598598
zval *output_handler = OG(active_ob_buffer).output_handler;
599599

0 commit comments

Comments
 (0)