comparison src/http/ngx_http_request.c @ 358:0a03c921c81d

nginx-0.0.7-2004-06-17-21:18:53 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 17 Jun 2004 17:18:53 +0000
parents 2e3cbc1bbe3c
children 446782c909b3
comparison
equal deleted inserted replaced
357:e260514b9ad4 358:0a03c921c81d
941 /* 941 /*
942 * check some widespread browsers while the headers are still 942 * check some widespread browsers while the headers are still
943 * in CPU cache 943 * in CPU cache
944 */ 944 */
945 945
946 ua = ngx_strstr(r->headers_in.user_agent->value.data, "MSIE"); 946 ua = (u_char *) ngx_strstr(r->headers_in.user_agent->value.data,
947 "MSIE");
947 if (ua 948 if (ua
948 && ua + 8 < r->headers_in.user_agent->value.data 949 && ua + 8 < r->headers_in.user_agent->value.data
949 + r->headers_in.user_agent->value.len) 950 + r->headers_in.user_agent->value.len)
950 { 951 {
951 r->headers_in.msie = 1; 952 r->headers_in.msie = 1;