summaryrefslogtreecommitdiff
path: root/sapi/apache
diff options
context:
space:
mode:
authorJon Parise <jon@php.net>2000-09-08 15:39:42 +0000
committerJon Parise <jon@php.net>2000-09-08 15:39:42 +0000
commit9a4c654606c28d43458f91212d11f19743142f44 (patch)
treea80cfcf2f5a38d3fe8b3898759236777054d0bed /sapi/apache
parent91c808ecc421ddaea9b0ae7f842daa727cfbf575 (diff)
downloadphp-git-9a4c654606c28d43458f91212d11f19743142f44.tar.gz
Fix build after last commit.
Diffstat (limited to 'sapi/apache')
-rw-r--r--sapi/apache/mod_php4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 0d2fbecc7a..7a5a84bb28 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -294,6 +294,8 @@ static void php_apache_request_shutdown(void *dummy)
static int php_apache_sapi_activate(SLS_D)
{
+ request_rec *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.