From: Ilia Alshanetsky Date: Tue, 11 Nov 2003 20:04:09 +0000 (+0000) Subject: Compiler warning fix (patch by Joe Orton). X-Git-Tag: php-5.0.0b3RC1~717 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2564b401e858647f587a5b5d3aa97ec0c16137e;p=php Compiler warning fix (patch by Joe Orton). --- 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; }