gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: use correct label


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: use correct label
Date: Wed, 17 Jan 2018 23:50:48 +0100

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new f52a678  use correct label
f52a678 is described below

commit f52a678fe66743ad10e64f8b6a04a19255ad79af
Author: Florian Dold <address@hidden>
AuthorDate: Wed Jan 17 23:50:39 2018 +0100

    use correct label
---
 src/backend/taler-merchant-httpd_proposal.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_proposal.c 
b/src/backend/taler-merchant-httpd_proposal.c
index f7be8b0..33f8d93 100644
--- a/src/backend/taler-merchant-httpd_proposal.c
+++ b/src/backend/taler-merchant-httpd_proposal.c
@@ -352,9 +352,7 @@ proposal_put (struct MHD_Connection *connection,
                            locations);
     }
 
-    GNUNET_assert (0 < GNUNET_asprintf (&label,
-                                        "merchant-location-%s-address",
-                                        mi->id));
+    GNUNET_assert (0 < GNUNET_asprintf (&label, "%s-address", mi->id));
     loc = json_object_get (default_locations, label);
     if (NULL == loc)
       loc = json_object ();
@@ -363,9 +361,7 @@ proposal_put (struct MHD_Connection *connection,
     json_object_set_new (locations, "_ma", loc);
     GNUNET_free (label);
 
-    GNUNET_assert (0 < GNUNET_asprintf (&label,
-                                        "merchant-location-%s-jurisdiction",
-                                        mi->id));
+    GNUNET_assert (0 < GNUNET_asprintf (&label, "%s-jurisdiction", mi->id));
     loc = json_object_get (default_locations, label);
     if (NULL == loc)
       loc = json_object ();

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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