summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r--sapi/cgi/cgi_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 7e9a00018c..d61bea902f 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -485,7 +485,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
php_output_startup();
SG(headers_sent) = 1;
php_cgi_usage(argv[0]);
- php_end_ob_buffering(1);
+ php_end_ob_buffers(1);
exit(1);
break;
}
@@ -556,7 +556,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
php_output_startup();
SG(headers_sent) = 1;
php_cgi_usage(argv[0]);
- php_end_ob_buffering(1);
+ php_end_ob_buffers(1);
exit(1);
break;
@@ -606,7 +606,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
SG(headers_sent) = 1;
}
php_printf("%s\n", PHP_VERSION);
- php_end_ob_buffering(1);
+ php_end_ob_buffers(1);
exit(1);
break;