-document section name

This commit is contained in:
Christian Grothoff 2021-08-04 14:05:13 +02:00
parent 383fd75230
commit 15f07a3e06
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -144,3 +144,4 @@ po/stamp-po
po/taler-exchange.pot
po/remove-potcdate.sed
src/include/taler_dbevents.h
src/bank-lib/taler-exchange-wire-gateway-client

View File

@ -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) )