summaryrefslogtreecommitdiff
path: root/src/wire
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-08 19:55:18 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-08 19:55:18 +0200
commit4f846eab966e2366c860c8708d3c47c18397d346 (patch)
tree935d88530cc09a9c1fe935c7205ede29356bbbce /src/wire
parent8800110b72d539e6e9a57ca9e6a66a9ad427f528 (diff)
downloadexchange-4f846eab966e2366c860c8708d3c47c18397d346.tar.gz
exchange-4f846eab966e2366c860c8708d3c47c18397d346.tar.bz2
exchange-4f846eab966e2366c860c8708d3c47c18397d346.zip
fix #5756, also change sepa->iban as per payto:// spec
Diffstat (limited to 'src/wire')
-rw-r--r--src/wire/Makefile.am1
-rw-r--r--src/wire/wire_helper.c10
2 files changed, 6 insertions, 5 deletions
diff --git a/src/wire/Makefile.am b/src/wire/Makefile.am
index 9fcf877f..6bf38aa2 100644
--- a/src/wire/Makefile.am
+++ b/src/wire/Makefile.am
@@ -12,6 +12,7 @@ lib_LTLIBRARIES = \
libtalerwire.la
libtalerwire_la_SOURCES = \
+ payto.c \
wire.c \
wire_helper.c
libtalerwire_la_LIBADD = \
diff --git a/src/wire/wire_helper.c b/src/wire/wire_helper.c
index 13e9bd79..0ce8d599 100644
--- a/src/wire/wire_helper.c
+++ b/src/wire/wire_helper.c
@@ -39,7 +39,7 @@ struct ConversionTable
{
/**
- * Wire method (e.g. 'sepa', 'x-taler-bank', ..)
+ * Wire method (e.g. 'iban', 'x-taler-bank', ..)
*/
const char *method;
@@ -86,17 +86,17 @@ const char *
TALER_WIRE_get_plugin_from_method (const char *method)
{
static const struct ConversionTable ct[] = {
- {"x-taler-bank", "taler_bank"},
- {"sepa", "ebics"},
+ {"x-taler-bank", "taler_bank"},
+ {"iban", "ebics"},
{NULL, NULL}
};
-
+
for (unsigned int i=0;
NULL != ct[i].method;
i++)
{
if (0 == strcmp (method,
- ct[i].method))
+ ct[i].method))
return ct[i].plugin_name;
}