From d2564b401e858647f587a5b5d3aa97ec0c16137e Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 11 Nov 2003 20:04:09 +0000 Subject: Compiler warning fix (patch by Joe Orton). --- sapi/apache2handler/php_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/apache2handler/php_functions.c') diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c index e27447df26..05b1889398 100644 --- a/sapi/apache2handler/php_functions.c +++ b/sapi/apache2handler/php_functions.c @@ -261,8 +261,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; } -- cgit v1.2.1