cvs: php4 /sapi/apache mod_php4.c

From: Date: Wed, 16 May 2001 18:28:19 +0000
Subject: cvs: php4 /sapi/apache mod_php4.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5792@lists.php.net to get a copy of this message
sterling Wed May 16 11:28:19 2001 EDT Modified files: /php4/sapi/apache mod_php4.c Log: # Revert the SLS_FETCH() ;) Index: php4/sapi/apache/mod_php4.c diff -u php4/sapi/apache/mod_php4.c:1.101 php4/sapi/apache/mod_php4.c:1.102 --- php4/sapi/apache/mod_php4.c:1.101 Wed May 16 11:15:49 2001 +++ php4/sapi/apache/mod_php4.c Wed May 16 11:28:18 2001 @@ -17,7 +17,7 @@ | PHP 4.0 patches by Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: mod_php4.c,v 1.101 2001/05/16 18:15:49 sterling Exp $ */ +/* $Id: mod_php4.c,v 1.102 2001/05/16 18:28:18 sterling Exp $ */ #define NO_REGEX_EXTRA_H #ifdef WIN32 @@ -295,11 +295,8 @@ 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

« previous php.cvs (#5792) next »