diff src/http/ngx_http_upstream.c @ 1107:db7c468c447d

ngx_strcasecmp()/ngx_strncasecmp()
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Feb 2007 18:51:19 +0000
parents aed9dfe2a4f2
children 1402dbb554c4
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -2313,7 +2313,7 @@ ngx_http_upstream_copy_content_type(ngx_
 
         while (*++p == ' ') { /* void */ }
 
-        if (ngx_strncasecmp(p, "charset=", 8) != 0) {
+        if (ngx_strncasecmp(p, (u_char *) "charset=", 8) != 0) {
             continue;
         }