diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-04 14:05:13 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-04 14:05:13 +0200 |
commit | 15f07a3e067dac4a1268cfd2b2fb44e3ade1c105 (patch) | |
tree | d6add9fc97f5d2052cf6e0ec12a0acb6ae549558 /src/bank-lib | |
parent | 383fd75230fc5301d432f50e4cb3474a59cb33e8 (diff) | |
download | exchange-15f07a3e067dac4a1268cfd2b2fb44e3ade1c105.tar.xz |
-document section name
Diffstat (limited to 'src/bank-lib')
-rw-r--r-- | src/bank-lib/taler-exchange-wire-gateway-client.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bank-lib/taler-exchange-wire-gateway-client.c b/src/bank-lib/taler-exchange-wire-gateway-client.c index 842778088..2f5df8722 100644 --- a/src/bank-lib/taler-exchange-wire-gateway-client.c +++ b/src/bank-lib/taler-exchange-wire-gateway-client.c @@ -601,6 +601,16 @@ run (void *cls, rc = GNUNET_CURL_gnunet_rc_create (ctx); if (NULL != account_section) { + if (0 != strncasecmp ("exchange-accountcredentials-" + account_section, + strlen ("exchange-accountcredentials-"))) + { + fprintf (stderr, + "Error: invalid section specified, must begin with `%s`\n", + "exchange-accountcredentials-"); + GNUNET_SCHEDULER_shutdown (); + return; + } if ( (NULL != auth.wire_gateway_url) || (NULL != auth.details.basic.username) || (NULL != auth.details.basic.password) ) |