-return proper response

This commit is contained in:
Christian Grothoff 2015-08-11 16:34:12 +02:00
parent bda1025dc1
commit 3662be1bac

View File

@ -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);