[nginx] svn commit: r4709 - in branches/stable-1.2: . src/http/modules/perl
mdounin at mdounin.ru
mdounin at mdounin.ru
Tue Jun 26 14:40:23 UTC 2012
Author: mdounin
Date: 2012-06-26 14:40:23 +0000 (Tue, 26 Jun 2012)
New Revision: 4709
URL: http://trac.nginx.org/nginx/changeset/4709/nginx
Log:
Merge of r4645: fixed warning during nginx.xs compilation.
Modified:
branches/stable-1.2/
branches/stable-1.2/src/http/modules/perl/nginx.xs
Index: branches/stable-1.2
===================================================================
--- branches/stable-1.2 2012-06-26 13:46:53 UTC (rev 4708)
+++ branches/stable-1.2 2012-06-26 14:40:23 UTC (rev 4709)
Property changes on: branches/stable-1.2
___________________________________________________________________
Modified: svn:mergeinfo
## -1 +1 ##
-/trunk:4611-4632,4641,4674-4676
+/trunk:4611-4632,4641,4645,4674-4676
\ No newline at end of property
Modified: branches/stable-1.2/src/http/modules/perl/nginx.xs
===================================================================
--- branches/stable-1.2/src/http/modules/perl/nginx.xs 2012-06-26 13:46:53 UTC (rev 4708)
+++ branches/stable-1.2/src/http/modules/perl/nginx.xs 2012-06-26 14:40:23 UTC (rev 4709)
@@ -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;
More information about the nginx-devel
mailing list