diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-02-14 18:51:19 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-02-14 18:51:19 +0000 |
| commit | 722231f40788d1243bf302227ed7b6fdfeaea492 (patch) | |
| tree | f408767af10da88546a8d2b518601aef67ffdfb0 /src/http/ngx_http_upstream.c | |
| parent | 0ddd9d6e5ebe8cf3fddaf5f017992f0740dd7996 (diff) | |
| download | nginx-722231f40788d1243bf302227ed7b6fdfeaea492.tar.gz nginx-722231f40788d1243bf302227ed7b6fdfeaea492.tar.bz2 | |
ngx_strcasecmp()/ngx_strncasecmp()
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 52860006b..79d372c13 100644 --- 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_http_request_t *r, ngx_table_elt_t *h, while (*++p == ' ') { /* void */ } - if (ngx_strncasecmp(p, "charset=", 8) != 0) { + if (ngx_strncasecmp(p, (u_char *) "charset=", 8) != 0) { continue; } |
