commit 3662be1bac9c65756c2edf419b9ad55c045a668f
parent bda1025dc119d2e3323ec0f106e54c8b724e9e07
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 11 Aug 2015 16:34:12 +0200
-return proper response
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/mint/taler-mint-httpd_wire.c b/src/mint/taler-mint-httpd_wire.c
@@ -150,11 +150,8 @@ TMH_WIRE_handler_wire_sepa (struct TMH_RequestHandler *rh,
"SEPA_RESPONSE_FILE",
&sepa_wire_file))
{
- ret = MHD_queue_response (connection,
- MHD_HTTP_NOT_IMPLEMENTED,
- response);
- MHD_destroy_response (response);
- return ret;
+ return TMH_RESPONSE_reply_internal_error (connection,
+ "SEPA_RESPONSE_FILE not configured");
}
fd = open (sepa_wire_file,
O_RDONLY);