diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-11 16:34:12 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-11 16:34:12 +0200 |
commit | 3662be1bac9c65756c2edf419b9ad55c045a668f (patch) | |
tree | af86782b1af8af50d4cd246f47040f278c98a309 /src | |
parent | bda1025dc119d2e3323ec0f106e54c8b724e9e07 (diff) |
-return proper response
Diffstat (limited to 'src')
-rw-r--r-- | src/mint/taler-mint-httpd_wire.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mint/taler-mint-httpd_wire.c b/src/mint/taler-mint-httpd_wire.c index d6f0fd7ff..cf177f8bc 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); |