Commit 258dce42 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

minimal changes to get it to compile


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89920 13f79535-47bb-0310-9956-ffa450edef68
parent c4ec5c41
Loading
Loading
Loading
Loading
+14 −12
Original line number Diff line number Diff line
@@ -988,6 +988,7 @@ static int read_types_multi(negotiation_state *neg)
         * since the exceptions result is index.foo - this should be
         * fixed as part of a new match-parts logic here.
         */
        {
            char *base = apr_array_pstrcat(sub_req->pool, exception_list, '.');
            int base_len = strlen(base);
            if (base_len > prefix_len 
@@ -1003,13 +1004,14 @@ static int read_types_multi(negotiation_state *neg)
                ap_destroy_sub_req(sub_req);
                continue;
            }
        }

        /* 
         * ###: be warned, the _default_ content type is already
         * picked up here!  If we failed the subrequest, or don't 
         * know what we are serving, then continue.
         */
        if (sub_req->status != HTTP_OK || (!sub_req->content_type) {
        if (sub_req->status != HTTP_OK || (!sub_req->content_type)) {
            ap_destroy_sub_req(sub_req);
            continue;
        }