summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-04 11:57:57 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-04 11:57:57 +0100
commitaba92c5bfa3efa9a7cabf2fc85b1f14bea2d8307 (patch)
treefec44c7e61e47592f5468632e5823fc3e48e679e /src/exchange
parentd06fb4d8182e5213e6d59cf0c5fe2c8d4c4cef36 (diff)
parent17ff4f5e97b981f0b3eebd6e3923fe60dc75edd5 (diff)
downloadexchange-aba92c5bfa3efa9a7cabf2fc85b1f14bea2d8307.tar.gz
exchange-aba92c5bfa3efa9a7cabf2fc85b1f14bea2d8307.tar.bz2
exchange-aba92c5bfa3efa9a7cabf2fc85b1f14bea2d8307.zip
modify /wire/test to provide bank URI and bank account numbers
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_wire.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_wire.c b/src/exchange/taler-exchange-httpd_wire.c
index 0d1e3f3f1..cec041762 100644
--- a/src/exchange/taler-exchange-httpd_wire.c
+++ b/src/exchange/taler-exchange-httpd_wire.c
@@ -117,13 +117,14 @@ TMH_WIRE_handler_wire_test (struct TMH_RequestHandler *rh,
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_number (cfg,
"wire-test",
- "BANK_ACCOUNT_NUMBER",
+ "BANK_ACCOUNT_NO_INCOMING",
&account_number))
{
/* oopsie, configuration error */
MHD_destroy_response (response);
+ GNUNET_free (bank_uri);
return TMH_RESPONSE_reply_internal_error (connection,
- "BANK_URI not configured");
+ "BANK_ACCOUNT_NO_INCOMING not configured");
}
ret = TMH_RESPONSE_reply_json_pack (connection,
MHD_HTTP_OK,