mirror of
https://github.com/nginx/nginx.git
synced 2026-06-09 08:57:35 -04:00
fix building broken in r1593
This commit is contained in:
parent
f0a51cfa09
commit
80c397c53b
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue