Re: cvs: php-src / php.ini-dist php.ini-recommended /sapi/cgi cgi_main.c

From: Date: Thu, 28 Apr 2005 14:26:46 +0000
Subject: Re: cvs: php-src / php.ini-dist php.ini-recommended /sapi/cgi cgi_main.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31657@lists.php.net to get a copy of this message
On Thu, 28 Apr 2005, Joe Orton wrote:
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?
    Changed the int to long..copy'n'paste error. :)
    Initialization doesn't hurt, IMO.
    --Jani


« previous php.cvs (#31657) next »