com php-src: Fixed C89: sapi/fpm/fpm/fpm_main.c
| From: | Xinchen Hui | Date: | Tue, 26 May 2015 08:24:18 +0000 |
| Subject: | com php-src: Fixed C89: sapi/fpm/fpm/fpm_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86933@lists.php.net to get a copy of this message | ||
Commit: 76a290d0be25a028f968edff074c9d8b6c673dba
Author: Xinchen Hui <laruence@php.net> Tue, 26 May 2015 16:24:18 +0800
Parents: 4cab20bbb4e6ef7d9d26bbe992dab2509d106ac3
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=76a290d0be25a028f968edff074c9d8b6c673dba
Log:
Fixed C89
Changed paths:
M sapi/fpm/fpm/fpm_main.c
Diff:
diff --git a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c
index 3256c70..9c90840 100644
--- a/sapi/fpm/fpm/fpm_main.c
+++ b/sapi/fpm/fpm/fpm_main.c
@@ -1878,11 +1878,11 @@ consult the installation file that came with this distribution, or visit \n\
zend_first_try {
while (fcgi_accept_request(&request) >= 0) {
+ char *primary_script = NULL;
request_body_fd = -1;
SG(server_context) = (void *) &request;
init_request_info(TSRMLS_C);
CG(interactive) = 0;
- char *primary_script = NULL;
fpm_request_info();