Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-17 00:26:01 +0300
committerIgor Sysoev <igor@sysoev.ru>2004-03-17 00:26:01 +0300
commitda85f7f5fc233a10abf3cbcbda547c918b67fb27 (patch)
treecf196e3f59770ee720b4ad387eee004b4f28f762 /src/http/ngx_http_special_response.c
parent9c61095a30ed2b6bf051dacbbbd26ae2769d9e34 (diff)
nginx-0.0.3-2004-03-17-00:26:01 import
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r--src/http/ngx_http_special_response.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index f27177bec..ff26e902b 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -248,9 +248,9 @@ int ngx_http_special_response_handler(ngx_http_request_t *r, int error)
}
r->headers_out.content_type->key.len = sizeof("Content-Type") - 1;
- r->headers_out.content_type->key.data = "Content-Type";
+ r->headers_out.content_type->key.data = (u_char *) "Content-Type";
r->headers_out.content_type->value.len = sizeof("text/html") - 1;
- r->headers_out.content_type->value.data = "text/html";
+ r->headers_out.content_type->value.data = (u_char *) "text/html";
} else {
r->headers_out.content_length_n = -1;