From 38a237ecbb65b8bac8fe786bd15620ed319cbb70 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Sun, 28 Jan 2001 14:00:56 +0000 Subject: [PATCH] Back out a bit of yesterday's patch, since the explicit return 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/http/http_request.c b/modules/http/http_request.c index f9032da229..ef83646be6 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -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 != '/') -- 2.40.0