mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
fix building broken in r1593
This commit is contained in:
parent
f0a51cfa09
commit
80c397c53b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user