donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit ef16910b6e480a87cf70e7e8c23d1b5e1ebd3d52
parent 25f33efb66620272192b9e65aa141df97dc557a9
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  2 Jun 2026 17:30:39 +0200

-fix minor issues

Diffstat:
Msrc/donau/donau-httpd_get-keys.c | 2++
Msrc/donau/donau-httpd_patch-charities-CHARITY_ID.c | 4++--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/donau/donau-httpd_get-keys.c b/src/donau/donau-httpd_get-keys.c @@ -235,6 +235,8 @@ create_keys_response (struct DH_KeyStateHandle *ksh, DH_base_url), GNUNET_JSON_pack_string ("currency", DH_currency), + GNUNET_JSON_pack_string ("legal_domain", + DH_legal_domain), GNUNET_JSON_pack_array_incref ("signkeys", signkeys), GNUNET_JSON_pack_array_incref ("donation_units", diff --git a/src/donau/donau-httpd_patch-charities-CHARITY_ID.c b/src/donau/donau-httpd_patch-charities-CHARITY_ID.c @@ -38,7 +38,7 @@ DH_handler_patch_charities (struct DH_RequestContext *rc, const char *const args[]) { struct DONAU_CharityPublicKeyP charity_pub; - uint64_t charity_id; + unsigned long long charity_id; char dummy; const char *charity_name = NULL; const char *charity_url = NULL; @@ -58,7 +58,7 @@ DH_handler_patch_charities (struct DH_RequestContext *rc, if ( (NULL == args[0]) || (1 != sscanf (args[0], - "%lu%c", + "%llu%c", &charity_id, &dummy)) ) {