-eliminate more format-string packs

This commit is contained in:
Christian Grothoff 2021-07-31 08:18:38 +02:00
parent 7d323303b6
commit 85a3a24ca7
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -505,13 +505,14 @@ TALER_JSON_exchange_wire_signature_make (
GNUNET_break_op (0); GNUNET_break_op (0);
return NULL; return NULL;
} }
TALER_exchange_wire_signature_make (payto_uri, TALER_exchange_wire_signature_make (payto_uri,
master_priv, master_priv,
&master_sig); &master_sig);
return json_pack ("{s:s, s:o}", return GNUNET_JSON_PACK (
"payto_uri", payto_uri, GNUNET_JSON_pack_string ("payto_uri",
"master_sig", GNUNET_JSON_from_data_auto (&master_sig)); payto_uri),
GNUNET_JSON_pack_data_auto ("master_sig",
&master_sig));
} }