summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.c
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-05-16 18:28:18 +0000
committerSterling Hughes <sterling@php.net>2001-05-16 18:28:18 +0000
commit0492f086e777dee65216cff8af4cc590760ade15 (patch)
tree19f8b97690783cb26ecaf6d8a852e7e54e44ac23 /sapi/apache/mod_php4.c
parent2d84ecbba82e29dfc377442f1623c9d94b25e99f (diff)
downloadphp-git-0492f086e777dee65216cff8af4cc590760ade15.tar.gz
# Revert the SLS_FETCH() ;)
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r--sapi/apache/mod_php4.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index f07ac35418..1e79701d0f 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -295,12 +295,9 @@ static void php_apache_request_shutdown(void *dummy)
static int php_apache_sapi_activate(SLS_D)
{
- request_rec *r;
- SLS_FETCH();
+ request_rec *r = (request_rec *) SG(server_context);
APLS_FETCH();
- r = (request_rec *) SG(server_context);
-
/*
* For the Apache module version, this bit of code registers a cleanup
* function that gets triggered when our request pool is destroyed.