summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2009-12-01 02:56:33 +0000
committererdgeist <>2009-12-01 02:56:33 +0000
commita7cd2084df214c3488df8b754c68f0cd7a14c34e (patch)
tree39a5b809928fbda5de59e83f623f858abf2c46f5
parentf3c0359876b59aa8fc2f03fa61363ede9d2edc2f (diff)
Fixed including another error message
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index 9c9fb0f..22fb68f 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -96,7 +96,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) {
96#define HTTPERROR_500 return http_issue_error( sock, ws, CODE_HTTPERROR_500 ) 96#define HTTPERROR_500 return http_issue_error( sock, ws, CODE_HTTPERROR_500 )
97ssize_t http_issue_error( const int64 sock, struct ot_workstruct *ws, int code ) { 97ssize_t http_issue_error( const int64 sock, struct ot_workstruct *ws, int code ) {
98 char *error_code[] = { "302 Found", "400 Invalid Request", "400 Invalid Request", "400 Invalid Request", "402 Payment Required", 98 char *error_code[] = { "302 Found", "400 Invalid Request", "400 Invalid Request", "400 Invalid Request", "402 Payment Required",
99 "403 Access Denied", "404 Not Found", "500 Internal Server Error" }; 99 "403 Not Modest", "403 Access Denied", "404 Not Found", "500 Internal Server Error" };
100 char *title = error_code[code]; 100 char *title = error_code[code];
101 101
102 ws->reply = ws->outbuf; 102 ws->reply = ws->outbuf;