Mercurial > hg > nginx
changeset 3062:aa720192937b
use local variable and fix debug log message
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 29 Aug 2009 18:42:31 +0000 |
parents | f444f291ed38 |
children | 6f6d7ea70805 |
files | src/http/ngx_http_copy_filter_module.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_copy_filter_module.c Sat Aug 29 18:40:28 2009 +0000 +++ b/src/http/ngx_http_copy_filter_module.c Sat Aug 29 18:42:31 2009 +0000 @@ -89,7 +89,7 @@ } 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 @@ 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; }