]> granicus.if.org Git - apache/commitdiff
Fix a minor bug that would cause us to return FORBIDDEN for all requests.
authorRyan Bloom <rbb@apache.org>
Thu, 6 Jan 2000 19:16:07 +0000 (19:16 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 6 Jan 2000 19:16:07 +0000 (19:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84399 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 505b5f9558c57ef6be9da2349646e832f9d0c058..6965c144990e84b2f9bb0f10bf59126bdadb2491 100644 (file)
@@ -266,7 +266,7 @@ static int get_path_info(request_rec *r)
         if (cp != end)
             *cp = '/';
 
-        if (rv != APR_SUCCESS) {    
+        if (rv == APR_SUCCESS) {    
             /*
              * Aha!  Found something.  If it was a directory, we will search
              * contents of that directory for a multi_match, so the PATH_INFO