Mercurial > hg > nginx
changeset 4644:95763fce86a8
Fixed warning during nginx.xs compilation.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 23 May 2012 10:36:12 +0000 |
parents | bc5f881323b8 |
children | f329a1d2127b |
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 Tue May 22 13:12:14 2012 +0000 +++ b/src/http/modules/perl/nginx.xs Wed May 23 10:36:12 2012 +0000 @@ -476,7 +476,7 @@ } 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;