]> granicus.if.org Git - apache/commitdiff
Back out a bit of yesterday's patch, since the explicit return
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 28 Jan 2001 14:00:56 +0000 (14:00 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 28 Jan 2001 14:00:56 +0000 (14:00 +0000)
  handles this correctly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87889 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index f9032da2295f75018bb0ff49136834268268858b..ef83646be6f5e0c35a4b9560e81524f7065d4d05 100644 (file)
@@ -303,7 +303,8 @@ static int get_path_info(request_rec *r)
             *cp = '\0';
             return OK;
         }
-        else if (APR_STATUS_IS_ENOENT(rv) || APR_STATUS_IS_ENOTDIR(rv)) {
+        
+        if (APR_STATUS_IS_ENOENT(rv) || APR_STATUS_IS_ENOTDIR(rv)) {
             last_cp = cp;
 
             while (--cp > path && *cp != '/')