Commit 6ee818d2 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Great badness - not a good idea to return OK when you don't modify the
  resulting value, even if it's NULL.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91345 13f79535-47bb-0310-9956-ffa450edef68
parent 5a020331
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1475,7 +1475,6 @@ AP_CORE_DECLARE(int) ap_parse_htaccess(ap_conf_vector_t **result,
    /* firstly, search cache */
    for (cache = r->htaccess; cache != NULL; cache = cache->next)
	if (cache->override == override && strcmp(cache->dir, d) == 0) {
	    if (cache->htaccess != NULL)
	    *result = cache->htaccess;
            return OK;
	}