diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:17:28 +0200 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:17:28 +0200 |
| commit | 37c329d7153b65fd2430fa42e8af8e8a0cbc0a41 (patch) | |
| tree | 7041c722228f74286b96c50fc834652f0c29156f /sapi/cgi | |
| parent | 6c2c7dabee006fa735307d92bb223a1fa3d47414 (diff) | |
| download | php-git-37c329d7153b65fd2430fa42e8af8e8a0cbc0a41.tar.gz | |
Trim trailing whitespace in source code files
Diffstat (limited to 'sapi/cgi')
| -rw-r--r-- | sapi/cgi/README.FastCGI | 4 | ||||
| -rw-r--r-- | sapi/cgi/cgi_main.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sapi/cgi/README.FastCGI b/sapi/cgi/README.FastCGI index f0f11e102d..4d34ff3dac 100644 --- a/sapi/cgi/README.FastCGI +++ b/sapi/cgi/README.FastCGI @@ -91,8 +91,8 @@ use the above configuration, but rather the following. Alias /fcgi-bin/ /space/fcgi-bin/ FastCgiServer /path/to/php-cgi -processes 5 -For either of the above configurations, we need to tell Apache to -use the FastCGI binary /fcgi-bin/php to deliver PHP pages. +For either of the above configurations, we need to tell Apache to +use the FastCGI binary /fcgi-bin/php to deliver PHP pages. All that is needed is: AddType application/x-httpd-fastphp .php diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index c0e02664ee..cd543d6e2d 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -2134,8 +2134,8 @@ consult the installation file that came with this distribution, or visit \n\ int i; ZeroMemory(&kid_cgi_ps, sizeof(kid_cgi_ps)); - kids = children < WIN32_MAX_SPAWN_CHILDREN ? children : WIN32_MAX_SPAWN_CHILDREN; - + kids = children < WIN32_MAX_SPAWN_CHILDREN ? children : WIN32_MAX_SPAWN_CHILDREN; + InitializeCriticalSection(&cleanup_lock); SetConsoleCtrlHandler(fastcgi_cleanup, TRUE); @@ -2248,7 +2248,7 @@ consult the installation file that came with this distribution, or visit \n\ WaitForMultipleObjects(kids, kid_cgi_ps, FALSE, INFINITE); } - + parent_loop_end: /* restore my env */ SetEnvironmentVariable("PHP_FCGI_CHILDREN", kid_buf); |
