Commit a28ca100 authored by Brian Pane's avatar Brian Pane
Browse files

Remove some extraneous comparison operations


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95584 13f79535-47bb-0310-9956-ffa450edef68
parent 23260d5b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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 */