fix building broken in r1593

This commit is contained in:
Igor Sysoev 2007-10-22 10:28:03 +00:00
parent f0a51cfa09
commit 80c397c53b

View File

@ -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;
}