mirror of
git://erdgeist.org/opentracker
synced 2025-07-23 17:05:20 +02:00
Fixed including another error message
This commit is contained in:
parent
f3c0359876
commit
a7cd2084df
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) {
|
|||
#define HTTPERROR_500 return http_issue_error( sock, ws, CODE_HTTPERROR_500 )
|
||||
ssize_t http_issue_error( const int64 sock, struct ot_workstruct *ws, int code ) {
|
||||
char *error_code[] = { "302 Found", "400 Invalid Request", "400 Invalid Request", "400 Invalid Request", "402 Payment Required",
|
||||
"403 Access Denied", "404 Not Found", "500 Internal Server Error" };
|
||||
"403 Not Modest", "403 Access Denied", "404 Not Found", "500 Internal Server Error" };
|
||||
char *title = error_code[code];
|
||||
|
||||
ws->reply = ws->outbuf;
|
||||
|
|
Loading…
Add table
Reference in a new issue