Mercurial > hg > nginx
comparison src/http/modules/perl/nginx.xs @ 4644:95763fce86a8
Fixed warning during nginx.xs compilation.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 23 May 2012 10:36:12 +0000 |
parents | 13e09cf11d4e |
children | 4d0ac175f6e4 |
comparison
equal
deleted
inserted
replaced
4643:bc5f881323b8 | 4644:95763fce86a8 |
---|---|
474 r->headers_out.content_length_n = (off_t) SvIV(value); | 474 r->headers_out.content_length_n = (off_t) SvIV(value); |
475 r->headers_out.content_length = header; | 475 r->headers_out.content_length = header; |
476 } | 476 } |
477 | 477 |
478 if (header->key.len == sizeof("Content-Encoding") - 1 | 478 if (header->key.len == sizeof("Content-Encoding") - 1 |
479 && ngx_strncasecmp(header->key.data, "Content-Encoding", | 479 && ngx_strncasecmp(header->key.data, (u_char *) "Content-Encoding", |
480 sizeof("Content-Encoding") - 1) == 0) | 480 sizeof("Content-Encoding") - 1) == 0) |
481 { | 481 { |
482 r->headers_out.content_encoding = header; | 482 r->headers_out.content_encoding = header; |
483 } | 483 } |
484 | 484 |