diff src/http/ngx_http_special_response.c @ 290:87e73f067470

nginx-0.0.2-2004-03-16-10:10:12 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 16 Mar 2004 07:10:12 +0000
parents 4eaafcd57be7
children a472bfb778b3
line wrap: on
line diff
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -5,14 +5,14 @@
 #include <nginx.h>
 
 
-static char error_tail[] =
+static u_char error_tail[] =
 "<hr><center>" NGINX_VER "</center>" CRLF
 "</body>" CRLF
 "</html>" CRLF
 ;
 
 
-static char msie_stub[] =
+static u_char msie_stub[] =
 "<!-- The padding to disable MSIE's friendly error page -->" CRLF
 "<!-- The padding to disable MSIE's friendly error page -->" CRLF
 "<!-- The padding to disable MSIE's friendly error page -->" CRLF
@@ -176,7 +176,8 @@ static ngx_str_t error_pages[] = {
 
 int ngx_http_special_response_handler(ngx_http_request_t *r, int error)
 {
-    int                        err, rc, i;
+    ngx_int_t                  rc;
+    ngx_uint_t                 err, i;
     ngx_hunk_t                *h;
     ngx_chain_t               *out, **ll, *cl;
     ngx_http_err_page_t       *err_page;