mirror of
https://github.com/nginx/nginx.git
synced 2025-06-08 02:02:38 +08:00
Fixed warning during nginx.xs compilation.
This commit is contained in:
parent
d2e005c39d
commit
a272b2da28
@ -476,7 +476,7 @@ header_out(r, key, value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (header->key.len == sizeof("Content-Encoding") - 1
|
if (header->key.len == sizeof("Content-Encoding") - 1
|
||||||
&& ngx_strncasecmp(header->key.data, "Content-Encoding",
|
&& ngx_strncasecmp(header->key.data, (u_char *) "Content-Encoding",
|
||||||
sizeof("Content-Encoding") - 1) == 0)
|
sizeof("Content-Encoding") - 1) == 0)
|
||||||
{
|
{
|
||||||
r->headers_out.content_encoding = header;
|
r->headers_out.content_encoding = header;
|
||||||
|
Loading…
Reference in New Issue
Block a user