From aeaa7025283306e39d89268b0dd890fbe22ebf56 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Sat, 11 Sep 2004 11:00:32 +0000 Subject: [PATCH] Tidying loose ends. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105074 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_filter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/experimental/mod_filter.c b/modules/experimental/mod_filter.c index d14886e5b3..936129e2ba 100644 --- a/modules/experimental/mod_filter.c +++ b/modules/experimental/mod_filter.c @@ -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,9 +455,9 @@ 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) ; } + tmpname = apr_pstrdup(cmd->pool, condition) ; + ap_str_tolower(tmpname) ; } if ( ( filter->dispatch == RESPONSE_HEADERS ) && !strcmp(tmpname, "content-type") ) { -- 2.40.0