Commit 1efa40ed authored by Nick Kew's avatar Nick Kew
Browse files

Tidying loose ends.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105074 13f79535-47bb-0310-9956-ffa450edef68
parent 5ae398ac
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -134,7 +134,6 @@ static void filter_trace(apr_pool_t* pool, int debug, const char* fname,
                         apr_bucket_brigade* bb)
{
    apr_bucket* b ;
    const char* type ;
    switch ( debug ) {
        case 0:        /* normal, operational use */
            return ;
@@ -143,7 +142,6 @@ static void filter_trace(apr_pool_t* pool, int debug, const char* fname,
            for ( b = APR_BRIGADE_FIRST(bb) ;
                  b != APR_BRIGADE_SENTINEL(bb) ;
                  b = APR_BUCKET_NEXT(b) ) {
                type = filter_bucket_type(b) ;
                ap_log_perror(APLOG_MARK, APLOG_NOTICE, 0, pool, "   %s: %s %d",
                              fname, filter_bucket_type(b), b->length);
            }
@@ -457,10 +455,10 @@ static const char* filter_declare(cmd_parms* cmd, void* CFG,
            filter->dispatch = HANDLER ;
        } else {
            filter->dispatch = RESPONSE_HEADERS ;
        }
        tmpname = apr_pstrdup(cmd->pool, condition) ;
        ap_str_tolower(tmpname) ;
    }
    }
    if ( ( filter->dispatch == RESPONSE_HEADERS )
        && !strcmp(tmpname, "content-type") ) {
        filter->dispatch = CONTENT_TYPE ;