diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-10 01:13:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-10 01:13:29 +0200 |
commit | 1925b6e26c0f68c36cd9fb32165638624021686c (patch) | |
tree | 8e08b80826265c5ab5b138eb94ed4ca3a7a8184e | |
parent | 054151c6302313e5cb1f1823d579fd2c7d9dbaef (diff) | |
download | merchant-1925b6e26c0f68c36cd9fb32165638624021686c.tar.gz merchant-1925b6e26c0f68c36cd9fb32165638624021686c.tar.bz2 merchant-1925b6e26c0f68c36cd9fb32165638624021686c.zip |
-more NZL
-rw-r--r-- | src/lib/merchant_api_get_templates.c | 2 | ||||
-rw-r--r-- | src/lib/merchant_api_get_webhooks.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/merchant_api_get_templates.c b/src/lib/merchant_api_get_templates.c index 030d80cb..4af6846e 100644 --- a/src/lib/merchant_api_get_templates.c +++ b/src/lib/merchant_api_get_templates.c @@ -76,7 +76,7 @@ parse_templates (const json_t *ia, struct TALER_MERCHANT_TemplatesGetHandle *tgh) { unsigned int ies_len = json_array_size (ia); - struct TALER_MERCHANT_TemplateEntry ies[ies_len]; + struct TALER_MERCHANT_TemplateEntry ies[GNUNET_NZL (ies_len)]; size_t index; json_t *value; int ret; diff --git a/src/lib/merchant_api_get_webhooks.c b/src/lib/merchant_api_get_webhooks.c index f5ba6f41..c176eff7 100644 --- a/src/lib/merchant_api_get_webhooks.c +++ b/src/lib/merchant_api_get_webhooks.c @@ -76,7 +76,7 @@ parse_webhooks (const json_t *ia, struct TALER_MERCHANT_WebhooksGetHandle *wgh) { unsigned int ies_len = json_array_size (ia); - struct TALER_MERCHANT_WebhookEntry ies[ies_len]; + struct TALER_MERCHANT_WebhookEntry ies[GNUNET_NZL (ies_len)]; size_t index; json_t *value; int ret; |