]> granicus.if.org Git - php/commitdiff
Fix build after last commit.
authorJon Parise <jon@php.net>
Fri, 8 Sep 2000 15:39:42 +0000 (15:39 +0000)
committerJon Parise <jon@php.net>
Fri, 8 Sep 2000 15:39:42 +0000 (15:39 +0000)
sapi/apache/mod_php4.c

index 0d2fbecc7a48e2a5979203332d8614a4b8931230..7a5a84bb28b0ae75d515360ae2014f9a41c4471f 100644 (file)
@@ -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.