gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] 01/02: -eliminate more format-string packs


From: gnunet
Subject: [taler-exchange] 01/02: -eliminate more format-string packs
Date: Sat, 31 Jul 2021 08:26:36 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

commit 85a3a24ca7f6affadb5842242954a4c7866c9ea2
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jul 31 08:18:38 2021 +0200

    -eliminate more format-string packs
---
 src/json/json_wire.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/json/json_wire.c b/src/json/json_wire.c
index bd019a7d..a49e7a54 100644
--- a/src/json/json_wire.c
+++ b/src/json/json_wire.c
@@ -505,13 +505,14 @@ TALER_JSON_exchange_wire_signature_make (
     GNUNET_break_op (0);
     return NULL;
   }
-
   TALER_exchange_wire_signature_make (payto_uri,
                                       master_priv,
                                       &master_sig);
-  return json_pack ("{s:s, s:o}",
-                    "payto_uri", payto_uri,
-                    "master_sig", GNUNET_JSON_from_data_auto (&master_sig));
+  return GNUNET_JSON_PACK (
+    GNUNET_JSON_pack_string ("payto_uri",
+                             payto_uri),
+    GNUNET_JSON_pack_data_auto ("master_sig",
+                                &master_sig));
 }
 
 

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