ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/thttpd/libhttpd.c
(Generate patch)

Comparing thttpd/libhttpd.c (file contents):
Revision 1.1.4.3 by root, Fri Jun 29 13:17:52 2001 UTC vs.
Revision 1.1.4.4 by root, Mon Jul 2 18:50:02 2001 UTC

823 } 823 }
824 824
825void 825void
826httpd_send_err_blocked( httpd_conn* hc ) 826httpd_send_err_blocked( httpd_conn* hc )
827 { 827 {
828 char *protocol = hc->protocol;
829
830 hc->protocol = "HTTP/1.0";
828#ifdef ERR_DIR 831#ifdef ERR_DIR
829 832
830 char filename[1000]; 833 char filename[1000];
831 834
832 /* Try virtual host error page. */ 835 /* Try virtual host error page. */
850#else /* ERR_DIR */ 853#else /* ERR_DIR */
851 854
852 send_response( hc, 403, err403title, "", err403form, "" ); 855 send_response( hc, 403, err403title, "", err403form, "" );
853 856
854#endif /* ERR_DIR */ 857#endif /* ERR_DIR */
858 hc->protocol = protocol;
855 } 859 }
856 860
857#ifdef ERR_DIR 861#ifdef ERR_DIR
858static int 862static int
859send_err_file( httpd_conn* hc, int status, char* title, char* extraheads, char* filename ) 863send_err_file( httpd_conn* hc, int status, char* title, char* extraheads, char* filename )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines