Mercurial > hg > nginx-quic
changeset 4708:668de9844a02 stable-1.2
Merge of r4645: fixed warning during nginx.xs compilation.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 26 Jun 2012 14:40:23 +0000 |
parents | ad7b9c54301d |
children | 5a4666d4b6cb |
files | src/http/modules/perl/nginx.xs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -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;