summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/http/modules/perl/nginx.xs
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2012-08-21 11:31:52 +0000
committerrobert <robert@openbsd.org>2012-08-21 11:31:52 +0000
commitc435ee91f14b21ec908900a5ca8979a45be2deb0 (patch)
treec14774a082d3a395da540459980b9ad870ffde52 /usr.sbin/nginx/src/http/modules/perl/nginx.xs
parentMissing "-q" in usage(). (diff)
downloadwireguard-openbsd-c435ee91f14b21ec908900a5ca8979a45be2deb0.tar.xz
wireguard-openbsd-c435ee91f14b21ec908900a5ca8979a45be2deb0.zip
update to nginx-1.2.3
Diffstat (limited to 'usr.sbin/nginx/src/http/modules/perl/nginx.xs')
-rw-r--r--usr.sbin/nginx/src/http/modules/perl/nginx.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nginx/src/http/modules/perl/nginx.xs b/usr.sbin/nginx/src/http/modules/perl/nginx.xs
index ecd11ffbc07..ed974391163 100644
--- a/usr.sbin/nginx/src/http/modules/perl/nginx.xs
+++ b/usr.sbin/nginx/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;