comparison src/http/modules/ngx_http_sub_filter_module.c @ 6480:f01ab2dbcfdc

Fixed logging.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 31 Mar 2016 02:33:57 +0300
parents 088ef087a011
children 0e0adbbc8752
comparison
equal deleted inserted replaced
6479:dc92298b1852 6480:f01ab2dbcfdc
339 while (ctx->pos < ctx->buf->last) { 339 while (ctx->pos < ctx->buf->last) {
340 340
341 rc = ngx_http_sub_parse(r, ctx); 341 rc = ngx_http_sub_parse(r, ctx);
342 342
343 ngx_log_debug4(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 343 ngx_log_debug4(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
344 "parse: %d, looked: \"%V\" %p-%p", 344 "parse: %i, looked: \"%V\" %p-%p",
345 rc, &ctx->looked, ctx->copy_start, ctx->copy_end); 345 rc, &ctx->looked, ctx->copy_start, ctx->copy_end);
346 346
347 if (rc == NGX_ERROR) { 347 if (rc == NGX_ERROR) {
348 return rc; 348 return rc;
349 } 349 }