comparison src/http/ngx_http_event.c @ 45:f1ee46c036a4

nginx-0.0.1-2003-01-10-09:09:20 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 10 Jan 2003 06:09:20 +0000
parents 0e81ac0bb3e2
children d81326c3b21b
comparison
equal deleted inserted replaced
44:0e81ac0bb3e2 45:f1ee46c036a4
398 NGX_ERROR); 398 NGX_ERROR);
399 ngx_cpystrn(h->value.data, r->header_start, h->value.len + 1); 399 ngx_cpystrn(h->value.data, r->header_start, h->value.len + 1);
400 400
401 for (i = 0; headers_in[i].len != 0; i++) { 401 for (i = 0; headers_in[i].len != 0; i++) {
402 if (headers_in[i].len == h->key.len) { 402 if (headers_in[i].len == h->key.len) {
403 if (strcasecmp(headers_in[i].data, h->key.data) == 0) { 403 if (ngx_strcasecmp(headers_in[i].data, h->key.data) == 0) {
404 *((ngx_table_elt_t **) 404 *((ngx_table_elt_t **)
405 ((char *) &r->headers_in + headers_in[i].offset)) = h; 405 ((char *) &r->headers_in + headers_in[i].offset)) = h;
406 } 406 }
407 } 407 }
408 } 408 }