Browse Source

Initialize "retval" on each request

migration/RELEASE_1_0_0
Dmitry Stogov 20 years ago
parent
commit
bc873b7b1d
  1. 1
      sapi/cgi/cgi_main.c

1
sapi/cgi/cgi_main.c

@ -1615,6 +1615,7 @@ consult the installation file that came with this distribution, or visit \n\
1. we are running from shell and got filename was there
2. we are running as cgi or fastcgi
*/
retval = FAILURE;
if (cgi || SG(request_info).path_translated) {
retval = php_fopen_primary_script(&file_handle TSRMLS_CC);
}

Loading…
Cancel
Save