aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-10-22 10:28:03 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-10-22 10:28:03 +0000
commit80c397c53bfec5866d032a6c6de1487769646a8c (patch)
treeee4b9ef731e9bf45e452240ff23996286a565373 /src
parentf0a51cfa098d25bf9af01523ff6a220e983fa717 (diff)
downloadnginx-80c397c53bfec5866d032a6c6de1487769646a8c.tar.gz
nginx-80c397c53bfec5866d032a6c6de1487769646a8c.zip
fix building broken in r1593
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_header_filter_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c
index 3c3d627c5..63ecfa135 100644
--- a/src/http/ngx_http_header_filter_module.c
+++ b/src/http/ngx_http_header_filter_module.c
@@ -368,11 +368,11 @@ ngx_http_header_filter(ngx_http_request_t *r)
if (r->headers_out.server == NULL) {
if (clcf->server_tokens) {
- p = ngx_http_server_full_string;
+ p = (u_char *) ngx_http_server_full_string;
len = sizeof(ngx_http_server_full_string) - 1;
} else {
- p = ngx_http_server_string;
+ p = (u_char *) ngx_http_server_string;
len = sizeof(ngx_http_server_string) - 1;
}