Re: cvs: php-src / php.ini-dist php.ini-recommended /sapi/cgi cgi_main.c
| From: | Joe Orton | Date: | Thu, 28 Apr 2005 13:36:02 +0000 |
| Subject: | Re: cvs: php-src / php.ini-dist php.ini-recommended /sapi/cgi cgi_main.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-31648@lists.php.net to get a copy of this message | ||
On Thu, Apr 28, 2005 at 01:14:26PM -0000, Jani Taskinen wrote:
> @@ -482,9 +482,14 @@
> static void sapi_cgi_log_message(char *message)
> {
> #if PHP_FASTCGI
> + int logging = 1;
> TSRMLS_FETCH();
>
> - if (!FCGX_IsCGI()) {
> + if (cfg_get_long("fastcgi.logging", &logging) == FAILURE) {
> + logging = 1;
> + }
long != int and the initialization is unnecessary too, I think?
joe