summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-11 16:34:12 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-11 16:34:12 +0200
commit3662be1bac9c65756c2edf419b9ad55c045a668f (patch)
treeaf86782b1af8af50d4cd246f47040f278c98a309 /src
parentbda1025dc119d2e3323ec0f106e54c8b724e9e07 (diff)
downloadexchange-3662be1bac9c65756c2edf419b9ad55c045a668f.tar.gz
exchange-3662be1bac9c65756c2edf419b9ad55c045a668f.tar.bz2
exchange-3662be1bac9c65756c2edf419b9ad55c045a668f.zip
-return proper response
Diffstat (limited to 'src')
-rw-r--r--src/mint/taler-mint-httpd_wire.c7
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);