summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/main/main.c b/main/main.c
index b259955ee4..1dc1e4645a 100644
--- a/main/main.c
+++ b/main/main.c
@@ -843,16 +843,13 @@ int php_request_startup(TSRMLS_D)
if (PG(output_handler) && PG(output_handler)[0]) {
php_start_ob_buffer_named(PG(output_handler), 0, 1 TSRMLS_CC);
- }
- else if (PG(output_buffering)) {
+ } else if (PG(output_buffering)) {
if (PG(output_buffering)>1) {
php_start_ob_buffer(NULL, PG(output_buffering), 0 TSRMLS_CC);
- }
- else {
+ } else {
php_start_ob_buffer(NULL, 0, 1 TSRMLS_CC);
}
- }
- else if (PG(implicit_flush)) {
+ } else if (PG(implicit_flush)) {
php_start_implicit_flush(TSRMLS_C);
}