Commit b636c58f authored by Jeff Trawick's avatar Jeff Trawick
Browse files

nicer to compare r->finfo.filetype with APR_NOFILE instead of 0

the sub request output filter shouldn't lose the return code from
the next filter


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89275 13f79535-47bb-0310-9956-ffa450edef68
parent 69ce4fbd
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ static int get_path_info(request_rec *r)
    char bStripSlash=1;
#endif

    if (r->finfo.filetype) {
    if (r->finfo.filetype != APR_NOFILE) {
	/* assume path_info already set */
	return OK;
    }
@@ -810,8 +810,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_sub_req_output_filter(ap_filter_t *f,
    if (APR_BUCKET_IS_EOS(e)) {
        apr_bucket_delete(e);
    }
    ap_pass_brigade(f->next, bb);
    return APR_SUCCESS;
    return ap_pass_brigade(f->next, bb);
}