aboutsummaryrefslogtreecommitdiff
path: root/src/libhttpd
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-25 02:11:11 +0000
committerrsc <devnull@localhost>2003-11-25 02:11:11 +0000
commit64bcfff3a12695f4e3f54b0590e896611da71c3b (patch)
tree4069bf27ba50ec5fa81e1ca201fc38cf3cb496be /src/libhttpd
parentf7012583e9a7594cbb5ebe8e974bb69061189262 (diff)
downloadplan9port-64bcfff3a12695f4e3f54b0590e896611da71c3b.tar.gz
plan9port-64bcfff3a12695f4e3f54b0590e896611da71c3b.tar.bz2
plan9port-64bcfff3a12695f4e3f54b0590e896611da71c3b.zip
More tweaks on Linux and Solaris.
Diffstat (limited to 'src/libhttpd')
-rw-r--r--src/libhttpd/fail.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/libhttpd/fail.c b/src/libhttpd/fail.c
index 92da30c8..c65ddaae 100644
--- a/src/libhttpd/fail.c
+++ b/src/libhttpd/fail.c
@@ -14,33 +14,33 @@ struct Error
Error errormsg[] =
{
- [HInternal] {"500 Internal Error", "Internal Error",
+ /* HInternal */ {"500 Internal Error", "Internal Error",
"This server could not process your request due to an internal error."},
- [HTempFail] {"500 Internal Error", "Temporary Failure",
+ /* HTempFail */ {"500 Internal Error", "Temporary Failure",
"The object %s is currently inaccessible.<p>Please try again later."},
- [HUnimp] {"501 Not implemented", "Command not implemented",
+ /* HUnimp */ {"501 Not implemented", "Command not implemented",
"This server does not implement the %s command."},
- [HUnkVers] {"501 Not Implemented", "Unknown http version",
- "This server does not know how to respond to http version %s."},
- [HBadCont] {"501 Not Implemented", "Impossible format",
- "This server cannot produce %s in any of the formats your client accepts."},
- [HBadReq] {"400 Bad Request", "Strange Request",
+ /* HBadReq */ {"400 Bad Request", "Strange Request",
"Your client sent a query that this server could not understand."},
- [HSyntax] {"400 Bad Request", "Garbled Syntax",
- "Your client sent a query with incoherent syntax."},
- [HBadSearch] {"400 Bad Request", "Inapplicable Search",
+ /* HBadSearch */ {"400 Bad Request", "Inapplicable Search",
"Your client sent a search that cannot be applied to %s."},
- [HNotFound] {"404 Not Found", "Object not found",
+ /* HNotFound */ {"404 Not Found", "Object not found",
"The object %s does not exist on this server."},
- [HNoSearch] {"403 Forbidden", "Search not supported",
+ /* HUnauth */ {"403 Forbidden", "Forbidden",
+ "You are not allowed to see the object %s."},
+ /* HSyntax */ {"400 Bad Request", "Garbled Syntax",
+ "Your client sent a query with incoherent syntax."},
+ /* HNoSearch */ {"403 Forbidden", "Search not supported",
"The object %s does not support the search command."},
- [HNoData] {"403 Forbidden", "No data supplied",
+ /* HNoData */ {"403 Forbidden", "No data supplied",
"Search or forms data must be supplied to %s."},
- [HExpectFail] {"403 Expectation Failed", "Expectation Failed",
+ /* HExpectFail */ {"403 Expectation Failed", "Expectation Failed",
"This server does not support some of your request's expectations."},
- [HUnauth] {"403 Forbidden", "Forbidden",
- "You are not allowed to see the object %s."},
- [HOK] {"200 OK", "everything is fine"},
+ /* HUnkVers */ {"501 Not Implemented", "Unknown http version",
+ "This server does not know how to respond to http version %s."},
+ /* HBadCont */ {"501 Not Implemented", "Impossible format",
+ "This server cannot produce %s in any of the formats your client accepts."},
+ /* HOK */ {"200 OK", "everything is fine"},
};
/*