gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -document section name


From: gnunet
Subject: [taler-exchange] branch master updated: -document section name
Date: Wed, 04 Aug 2021 14:05:15 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 15f07a3e -document section name
15f07a3e is described below

commit 15f07a3e067dac4a1268cfd2b2fb44e3ade1c105
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Aug 4 14:05:13 2021 +0200

    -document section name
---
 .gitignore                                        |  1 +
 src/bank-lib/taler-exchange-wire-gateway-client.c | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/.gitignore b/.gitignore
index fcb2a5c9..dbc9f07a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/src/bank-lib/taler-exchange-wire-gateway-client.c 
b/src/bank-lib/taler-exchange-wire-gateway-client.c
index 84277808..2f5df872 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) )

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]