diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-05-23 10:36:12 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-05-23 10:36:12 +0000 |
| commit | a272b2da28063b13657a985d69366937953abd6b (patch) | |
| tree | aa1150c2fb5c36b05eb130af12bd671a02e583c6 | |
| parent | d2e005c39dc3adfe5e6f6b1ade096f3cfa4b8c84 (diff) | |
| download | nginx-a272b2da28063b13657a985d69366937953abd6b.tar.gz nginx-a272b2da28063b13657a985d69366937953abd6b.tar.bz2 | |
Fixed warning during nginx.xs compilation.
| -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; |
