Commit 64fea73b authored by Andre Malo's avatar Andre Malo
Browse files

style


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105498 13f79535-47bb-0310-9956-ffa450edef68
parent f1c41930
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -456,13 +456,15 @@ static const char *filter_provider(cmd_parms *cmd, void *CFG,

    /* fname has been declared with DeclareFilter, so we can look it up */
    mod_filter_cfg *cfg = CFG;
    ap_filter_rec_t *frec = apr_hash_get(cfg->live_filters, fname, APR_HASH_KEY_STRING);
    ap_filter_rec_t *frec = apr_hash_get(cfg->live_filters, fname,
                                         APR_HASH_KEY_STRING);
    /* if provider has been registered, we can look it up */
    ap_filter_rec_t *provider_frec = ap_get_output_filter_handle(pname);
    /* or if provider is mod_filter itself, we can also look it up */

    if (!provider_frec) {
        provider_frec = apr_hash_get(cfg->live_filters, pname, APR_HASH_KEY_STRING);
        provider_frec = apr_hash_get(cfg->live_filters, pname,
                                     APR_HASH_KEY_STRING);
    }

    if (!frec) {