diff options
author | Zeev Suraski <zeev@php.net> | 2001-08-01 22:53:26 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-08-01 22:53:26 +0000 |
commit | 12318a2068adf370d649a787f50c00cbab4823b0 (patch) | |
tree | 63837a1a42cf88a67e8675575f6d1580fd1c28b2 | |
parent | 2794a0e69a866189703b94377bcf1c9528d70ec8 (diff) | |
download | php-git-12318a2068adf370d649a787f50c00cbab4823b0.tar.gz |
Fix Apache/ZTS build
-rw-r--r-- | sapi/apache/mod_php4.c | 1 | ||||
-rw-r--r-- | sapi/apache/sapi_apache.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 52a65fd9c3..a8ca481291 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -326,7 +326,6 @@ static void php_apache_request_shutdown(void *dummy) static int php_apache_sapi_activate(TSRMLS_D) { request_rec *r = (request_rec *) SG(server_context); - TSRMLS_FETCH(); /* * For the Apache module version, this bit of code registers a cleanup diff --git a/sapi/apache/sapi_apache.c b/sapi/apache/sapi_apache.c index 1d9e03c3eb..f67e4b35fb 100644 --- a/sapi/apache/sapi_apache.c +++ b/sapi/apache/sapi_apache.c @@ -60,10 +60,9 @@ /* {{{ apache_php_module_main */ -int apache_php_module_main(request_rec *r, int display_source_mode TSRMLS_DC TSRMLS_DC) +int apache_php_module_main(request_rec *r, int display_source_mode TSRMLS_DC) { zend_file_handle file_handle; - TSRMLS_FETCH(); if (php_request_startup(TSRMLS_C) == FAILURE) { return FAILURE; |