]> git.kaiwu.me - nginx.git/commitdiff
fix debug logging
authorIgor Sysoev <igor@sysoev.ru>
Wed, 15 Apr 2009 13:46:52 +0000 (13:46 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 15 Apr 2009 13:46:52 +0000 (13:46 +0000)
src/http/ngx_http_header_filter_module.c

index e8d1ff10a51144e15968d8b0a2496c1b06f03a0f..21ee3bbd21e239d493a7b21b31d79f11fc358911 100644 (file)
@@ -586,7 +586,7 @@ ngx_http_header_filter(ngx_http_request_t *r)
     }
 
     ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
-                   "%*s\n", (size_t) (b->last - b->pos), b->pos);
+                   "%*s", (size_t) (b->last - b->pos), b->pos);
 
     /* the end of HTTP header */
     *b->last++ = CR; *b->last++ = LF;