From: George Schlossnagle Date: Wed, 25 Dec 2002 21:18:37 +0000 (+0000) Subject: fixed ws X-Git-Tag: PHP_5_0_dev_before_13561_fix~611 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=190867c800157851281aa1d94e505ea6f6ba6040;p=php fixed ws --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 04279cc0f6..19d2482ff5 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1378,18 +1378,18 @@ consult the installation file that came with this distribution, or visit \n\ /* request startup only after we've done all we can to get path_translated */ - if (php_request_startup(TSRMLS_C)==FAILURE) { - php_module_shutdown(TSRMLS_C); - return FAILURE; - } + if (php_request_startup(TSRMLS_C)==FAILURE) { + php_module_shutdown(TSRMLS_C); + return FAILURE; + } if (no_headers) { SG(headers_sent) = 1; SG(request_info).no_headers = 1; } - /* This actually destructs the elements of the list - ugly hack */ - zend_llist_apply(&global_vars, (llist_apply_func_t) php_register_command_line_global_vars TSRMLS_CC); - zend_llist_destroy(&global_vars); + /* This actually destructs the elements of the list - ugly hack */ + zend_llist_apply(&global_vars, (llist_apply_func_t) php_register_command_line_global_vars TSRMLS_CC); + zend_llist_destroy(&global_vars); if (cgi || SG(request_info).path_translated) { retval = php_fopen_primary_script(&file_handle TSRMLS_CC);