diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-06-26 14:40:23 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-06-26 14:40:23 +0000 |
| commit | a4b7871ac73e1ad33729a060ab0370d0c0293782 (patch) | |
| tree | 482f2a97b0067132b79a84f82078710ff473c9f1 /src | |
| parent | e9bc178bd95d764c1b2e3b6b5f23328c4ec2802a (diff) | |
| download | nginx-a4b7871ac73e1ad33729a060ab0370d0c0293782.tar.gz nginx-a4b7871ac73e1ad33729a060ab0370d0c0293782.tar.bz2 | |
Merge of r4645: fixed warning during nginx.xs compilation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/modules/perl/nginx.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index ecd11ffbc..ed9743911 100644 --- 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; |
