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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
