summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_log_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_log_handler.c')
-rw-r--r--src/http/ngx_http_log_handler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/ngx_http_log_handler.c b/src/http/ngx_http_log_handler.c
index 3edb55b54..908d6fcdf 100644
--- a/src/http/ngx_http_log_handler.c
+++ b/src/http/ngx_http_log_handler.c
@@ -327,8 +327,8 @@ static u_char *ngx_http_log_unknown_header_in(ngx_http_request_t *r,
s = (ngx_str_t *) data;
- h = r->headers_in.headers->elts;
- for (i = 0; i < r->headers_in.headers->nelts; i++) {
+ h = r->headers_in.headers.elts;
+ for (i = 0; i < r->headers_in.headers.nelts; i++) {
if (h[i].key.len != s->len) {
continue;
}
@@ -535,8 +535,8 @@ static u_char *ngx_http_log_unknown_header_out(ngx_http_request_t *r,
s = (ngx_str_t *) data;
- h = r->headers_out.headers->elts;
- for (i = 0; i < r->headers_out.headers->nelts; i++) {
+ h = r->headers_out.headers.elts;
+ for (i = 0; i < r->headers_out.headers.nelts; i++) {
if (h[i].key.len != s->len) {
continue;
}