From e4b78cbf4cc9560659faebc820e289c0479a8ef2 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 3 Oct 2001 13:10:16 +0000 Subject: [PATCH] rename variable "except" to avoid colliding with a macro of the same name on Tru64 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91253 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_negotiation.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c index cedb4efee4..5223eca691 100644 --- a/modules/mappers/mod_negotiation.c +++ b/modules/mappers/mod_negotiation.c @@ -1108,7 +1108,7 @@ static int read_types_multi(negotiation_state *neg) */ { int nexcept = exception_list->nelts; - char **except = (char**)exception_list->elts; + char **cur_except = (char**)exception_list->elts; char *segstart = filp, *segend, saveend; while (*segstart && nexcept) { @@ -1118,12 +1118,12 @@ static int read_types_multi(negotiation_state *neg) *segend = '\0'; #ifdef CASE_BLIND_FILESYSTEM - if (strcasecmp(segstart, *except) == 0) { + if (strcasecmp(segstart, *cur_except) == 0) { #else - if (strcmp(segstart, *except) == 0) { + if (strcmp(segstart, *cur_except) == 0) { #endif --nexcept; - ++except; + ++cur_except; } if (!saveend) -- 2.50.1