diff src/http/ngx_http_header_filter.c @ 257:70e1c7d2b83d

nginx-0.0.2-2004-02-11-20:08:49 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 Feb 2004 17:08:49 +0000
parents 674f85a4d00f
children 87e73f067470
line wrap: on
line diff
--- a/src/http/ngx_http_header_filter.c
+++ b/src/http/ngx_http_header_filter.c
@@ -333,10 +333,10 @@ static int ngx_http_header_filter(ngx_ht
         *(h->last++) = CR; *(h->last++) = LF;
     }
 
-    /* STUB */
+#if (NGX_DEBUG)
     *(h->last) = '\0';
-    ngx_log_debug(r->connection->log, "%s\n" _ h->pos);
-    /**/
+    ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "%s\n", h->pos);
+#endif
 
     /* the end of HTTP header */
     *(h->last++) = CR; *(h->last++) = LF;