summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.c')
-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;