summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_functions.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-11-11 20:04:19 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-11-11 20:04:19 +0000
commit8d9bd14c18e119f84701730f9a5f8890210081d2 (patch)
treea9b2bb9c150690acd9e2654fcc9241917794264a /sapi/apache2handler/php_functions.c
parentc47c73519ec854e6d254b64252ca8283bf3d2748 (diff)
downloadphp-git-8d9bd14c18e119f84701730f9a5f8890210081d2.tar.gz
MFH: Compiler warning fix (patch by Joe Orton).
Diffstat (limited to 'sapi/apache2handler/php_functions.c')
-rw-r--r--sapi/apache2handler/php_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c
index 548f08eefc..0407379757 100644
--- a/sapi/apache2handler/php_functions.c
+++ b/sapi/apache2handler/php_functions.c
@@ -259,8 +259,8 @@ PHP_FUNCTION(apache_setenv)
ctx = SG(server_context);
+ r = ctx->r;
if (arg_count == 3 && Z_STRVAL_PP(walk_to_top)) {
- r = ctx->r;
while(r->prev) {
r = r->prev;
}