Merge of r4645: fixed warning during nginx.xs compilation.

This commit is contained in:
Maxim Dounin 2012-06-26 14:40:23 +00:00
parent 36a18fdd06
commit 541f213465
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ header_out(r, key, value)
}
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)
{
r->headers_out.content_encoding = header;