aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_headers.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-23 06:01:52 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-03-23 06:01:52 +0000
commit89690bfe02703853c3e987d1e5c4d9878c4d28f0 (patch)
treec5d9a59cdd74b54ffa939dcf59886307f26c984c /src/http/ngx_http_headers.c
parentae02c19867083c6ad3e51506109cb37bca1d36d1 (diff)
downloadnginx-89690bfe02703853c3e987d1e5c4d9878c4d28f0.tar.gz
nginx-89690bfe02703853c3e987d1e5c4d9878c4d28f0.zip
nginx-0.0.3-2004-03-23-09:01:52 import
Diffstat (limited to 'src/http/ngx_http_headers.c')
-rw-r--r--src/http/ngx_http_headers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_headers.c b/src/http/ngx_http_headers.c
index 900323a96..57413afae 100644
--- a/src/http/ngx_http_headers.c
+++ b/src/http/ngx_http_headers.c
@@ -60,12 +60,12 @@ ngx_http_header_t ngx_http_headers_out[] = {
ngx_table_elt_t *ngx_http_add_header(void *header,
ngx_http_header_t *http_headers)
{
- char *prev;
+ void *prev;
ngx_uint_t i, j;
ngx_table_t *headers;
ngx_table_elt_t *h, *new;
- headers = *(ngx_table_t **) header;
+ headers = header;
prev = headers->elts;