From 3662be1bac9c65756c2edf419b9ad55c045a668f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 11 Aug 2015 16:34:12 +0200 Subject: -return proper response --- src/mint/taler-mint-httpd_wire.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/mint/taler-mint-httpd_wire.c b/src/mint/taler-mint-httpd_wire.c index d6f0fd7f..cf177f8b 100644 --- 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); -- cgit v1.2.3