diff options
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ) |
97 | ssize_t http_issue_error( const int64 sock, struct ot_workstruct *ws, int code ) { | 97 | ssize_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; |