gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: fix #7114


From: gnunet
Subject: [taler-merchant] branch master updated: fix #7114
Date: Tue, 30 Nov 2021 15:13:59 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 6d4e3f59 fix #7114
6d4e3f59 is described below

commit 6d4e3f59bc03d6fc9b519be84692a707ab906a38
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Nov 30 15:13:57 2021 +0100

    fix #7114
---
 src/merchant-tools/taler-merchant-setup-reserve.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/merchant-tools/taler-merchant-setup-reserve.c 
b/src/merchant-tools/taler-merchant-setup-reserve.c
index f4e4d8da..cb43eaf5 100644
--- a/src/merchant-tools/taler-merchant-setup-reserve.c
+++ b/src/merchant-tools/taler-merchant-setup-reserve.c
@@ -149,10 +149,16 @@ result_cb (void *cls,
                                      sizeof (*reserve_pub),
                                      res_str,
                                      sizeof (res_str));
-      fprintf (stdout,
-               "%s?message=%s\n",
-               payto_uri,
-               res_str);
+      if (NULL != strchr (payto_uri, '?'))
+        fprintf (stdout,
+                 "%s&message=%s\n",
+                 payto_uri,
+                 res_str);
+      else
+        fprintf (stdout,
+                 "%s?message=%s\n",
+                 payto_uri,
+                 res_str);
     }
     break;
   default:

-- 
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]