donau

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

commit 50b11af6bcd9063aad561b804d4457d3a05a5ae4
parent 38d5c1059ac0f1f93a116e2599e1724d84c7e57d
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 19 Jul 2026 23:55:52 +0200

propagate error properly to client

Diffstat:
Msrc/lib/donau_api_handle.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/lib/donau_api_handle.c b/src/lib/donau_api_handle.c @@ -378,12 +378,16 @@ keys_completed_cb (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Failed to receive /keys response from donau %s\n", gkh->donau_url); + kresp.hr.http_status = 0; + kresp.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; break; case MHD_HTTP_OK: if (NULL == j) { GNUNET_break (0); response_code = 0; + kresp.hr.http_status = 0; + kresp.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; break; } kd = GNUNET_new (struct DONAU_Keys);