-return proper response
This commit is contained in:
parent
bda1025dc1
commit
3662be1bac
@ -150,11 +150,8 @@ TMH_WIRE_handler_wire_sepa (struct TMH_RequestHandler *rh,
|
|||||||
"SEPA_RESPONSE_FILE",
|
"SEPA_RESPONSE_FILE",
|
||||||
&sepa_wire_file))
|
&sepa_wire_file))
|
||||||
{
|
{
|
||||||
ret = MHD_queue_response (connection,
|
return TMH_RESPONSE_reply_internal_error (connection,
|
||||||
MHD_HTTP_NOT_IMPLEMENTED,
|
"SEPA_RESPONSE_FILE not configured");
|
||||||
response);
|
|
||||||
MHD_destroy_response (response);
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
fd = open (sepa_wire_file,
|
fd = open (sepa_wire_file,
|
||||||
O_RDONLY);
|
O_RDONLY);
|
||||||
|
Loading…
Reference in New Issue
Block a user