diff options
| author | erdgeist <> | 2009-12-01 02:56:33 +0000 |
|---|---|---|
| committer | erdgeist <> | 2009-12-01 02:56:33 +0000 |
| commit | a7cd2084df214c3488df8b754c68f0cd7a14c34e (patch) | |
| tree | 39a5b809928fbda5de59e83f623f858abf2c46f5 | |
| parent | f3c0359876b59aa8fc2f03fa61363ede9d2edc2f (diff) | |
Fixed including another error message
| -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; |
