sniper          Tue Jan 11 08:35:57 2005 EDT

  Modified files:              
    /php-src/sapi/cgi   cgi_main.c 
  Log:
  Fix ZTS build
  
http://cvs.php.net/diff.php/php-src/sapi/cgi/cgi_main.c?r1=1.258&r2=1.259&ty=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.258 php-src/sapi/cgi/cgi_main.c:1.259
--- php-src/sapi/cgi/cgi_main.c:1.258   Mon Jan 10 10:38:24 2005
+++ php-src/sapi/cgi/cgi_main.c Tue Jan 11 08:35:56 2005
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.258 2005/01/10 15:38:24 sniper Exp $ */
+/* $Id: cgi_main.c,v 1.259 2005/01/11 13:35:56 sniper Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -482,6 +482,8 @@
 static void sapi_cgi_log_message(char *message)
 {
 #if PHP_FASTCGI
+       TSRMLS_FETCH();
+
        if (!FCGX_IsCGI()) {
                FCGX_Request *request = (FCGX_Request *)SG(server_context);
                FCGX_FPrintF( request->err, "%s\n", message );

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to