brian 96/10/22 13:56:00
Modified: src http_protocol.c
Log:
Reviewed by: Roy Fielding, James Cloos
Submitted by: Alexei Kosut
Modified <H1> text of error messages to not have error code.
Revision Changes Path
1.63 +2 -1 apache/src/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_protocol.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -C3 -r1.62 -r1.63
*** http_protocol.c 1996/10/22 18:45:36 1.62
--- http_protocol.c 1996/10/22 20:55:58 1.63
***************
*** 1376,1384 ****
}
{
char *title = status_lines[idx];
BUFF *fd = c->client;
! bvputs(fd,"<HEAD><TITLE>", title, "</TITLE></HEAD>\n<BODY><H1>",
title,
"</H1>\n", NULL);
switch (status) {
--- 1376,1385 ----
}
{
char *title = status_lines[idx];
+ char *h1 = 4 + status_lines[idx];
BUFF *fd = c->client;
! bvputs(fd,"<HEAD><TITLE>", title, "</TITLE></HEAD>\n<BODY><H1>", h1,
"</H1>\n", NULL);
switch (status) {