aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-06-17 17:18:53 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-06-17 17:18:53 +0000
commit415b1ce1b93a3b74efe8a3ee5a35ee55e0a11caa (patch)
tree077bf24b4f310a87ab8bff140c730cb679069988 /src/http/ngx_http_request.c
parentf924e6b694db7fd1d99473b3d7db7eb2b49c9e62 (diff)
downloadnginx-415b1ce1b93a3b74efe8a3ee5a35ee55e0a11caa.tar.gz
nginx-415b1ce1b93a3b74efe8a3ee5a35ee55e0a11caa.zip
nginx-0.0.7-2004-06-17-21:18:53 import
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 3f506661f..0f30a3177 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -943,7 +943,8 @@ static ngx_int_t ngx_http_process_request_header(ngx_http_request_t *r)
* in CPU cache
*/
- ua = ngx_strstr(r->headers_in.user_agent->value.data, "MSIE");
+ ua = (u_char *) ngx_strstr(r->headers_in.user_agent->value.data,
+ "MSIE");
if (ua
&& ua + 8 < r->headers_in.user_agent->value.data
+ r->headers_in.user_agent->value.len)