exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 28116298feca3b3c8eaa9cf4cbb69517b795f6ed
parent 65f8f5a901e1ac83a76f5e7e9ab29490c2daff50
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Fri, 22 Dec 2023 22:50:58 +0800

-cleanup

Diffstat:
Msrc/json/json_helper.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/json/json_helper.c b/src/json/json_helper.c @@ -184,7 +184,6 @@ parse_cspec (void *cls, const char *emsg; unsigned int eline; - (void) cls; memset (r_cspec->currency, 0, sizeof (r_cspec->currency)); @@ -261,10 +260,10 @@ TALER_JSON_spec_currency_specification ( struct GNUNET_JSON_Specification ret = { .parser = &parse_cspec, .cleaner = &clean_cspec, - .cls = currency, + .cls = (void *) currency, .field = name, .ptr = r_cspec, - .ptr_size = 0, + .ptr_size = sizeof (*r_cspec), .size_ptr = NULL };