You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fi...@hyperreal.org on 1998/12/28 13:51:10 UTC
cvs commit: apache-1.3/src/main http_protocol.c
fielding 98/12/28 04:51:10
Modified: src/main http_protocol.c
Log:
Oops, stupid missing commas in auto static array.
PR: 3541
Revision Changes Path
1.250 +4 -4 apache-1.3/src/main/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_protocol.c,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -r1.249 -r1.250
--- http_protocol.c 1998/11/10 07:30:08 1.249
+++ http_protocol.c 1998/12/28 12:51:09 1.250
@@ -1107,7 +1107,7 @@
* and must be listed in order.
*/
-static char *status_lines[] = {
+static char *status_lines[RESPONSE_CODES] = {
"100 Continue",
"101 Switching Protocols",
"102 Processing",
@@ -1162,11 +1162,11 @@
"503 Service Temporarily Unavailable",
"504 Gateway Time-out",
"505 HTTP Version Not Supported",
- "506 Variant Also Negotiates"
- "507 Insufficient Storage"
+ "506 Variant Also Negotiates",
+ "507 Insufficient Storage",
"508 unused",
"509 unused",
- "510 Not Extended",
+ "510 Not Extended"
};
/* The index is found by its offset from the x00 code of each level.