From: Brian Pane Date: Sat, 8 Jun 2002 06:28:16 +0000 (+0000) Subject: Remove some extraneous comparison operations X-Git-Tag: 2.0.37~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d90bcd9aa1670b1307b606c9dfc3153a64e7471a;p=apache Remove some extraneous comparison operations git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95584 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_alias.c b/modules/mappers/mod_alias.c index 09660da7f6..6f8ab6c3f1 100644 --- a/modules/mappers/mod_alias.c +++ b/modules/mappers/mod_alias.c @@ -297,10 +297,12 @@ static int alias_matches(const char *uri, const char *alias_fakename) if (*urip != '/') return 0; - while (*aliasp == '/') + do { ++aliasp; - while (*urip == '/') + } while (*aliasp == '/'); + do { ++urip; + } while (*urip == '/'); } else { /* Other characters are compared literally */