aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-29 18:42:31 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-29 18:42:31 +0000
commitd11fa717f00aa31bd6bba11f03823b89f485d6fc (patch)
treeef66370f6c0d59fff83c7866910e3921d799a6a7 /src
parent61b09e59d76954dd4cc0d98a074b44f8a2b690de (diff)
downloadnginx-d11fa717f00aa31bd6bba11f03823b89f485d6fc.tar.gz
nginx-d11fa717f00aa31bd6bba11f03823b89f485d6fc.zip
use local variable and fix debug log message
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_copy_filter_module.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http_copy_filter_module.c b/src/http/ngx_http_copy_filter_module.c
index 5587ba447..61c3cb231 100644
--- a/src/http/ngx_http_copy_filter_module.c
+++ b/src/http/ngx_http_copy_filter_module.c
@@ -89,7 +89,7 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in)
}
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
- "copy filter: \"%V?%V\"", &r->uri, &r->args);
+ "http copy filter: \"%V?%V\"", &r->uri, &r->args);
ctx = ngx_http_get_module_ctx(r, ngx_http_copy_filter_module);
@@ -136,8 +136,8 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in)
r->buffered |= NGX_HTTP_COPY_BUFFERED;
}
- ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args);
+ ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
+ "http copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args);
return rc;
}