aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-31 08:18:38 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-31 08:18:38 +0200
commit85a3a24ca7f6affadb5842242954a4c7866c9ea2 (patch)
treece14861dacf82dcf677e3f3facedeee6aa422378 /src
parent7d323303b63c62f92690c6a0cdfaf645eb6d017c (diff)
-eliminate more format-string packs
Diffstat (limited to 'src')
-rw-r--r--src/json/json_wire.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/json/json_wire.c b/src/json/json_wire.c
index bd019a7de..a49e7a54a 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));
}