From: William A. Rowe Jr Date: Sun, 28 Jan 2001 14:00:56 +0000 (+0000) Subject: Back out a bit of yesterday's patch, since the explicit return X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38a237ecbb65b8bac8fe786bd15620ed319cbb70;p=apache 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 --- 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 != '/')