diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_auditors.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_auditors.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_auditors.c b/src/backend/taler-merchant-httpd_auditors.c index ecb0cb64..f30b11ee 100644 --- a/src/backend/taler-merchant-httpd_auditors.c +++ b/src/backend/taler-merchant-httpd_auditors.c @@ -65,13 +65,14 @@ json_t *j_auditors; * Function called on each configuration section. Finds sections * about auditors and parses the entries. * - * @param cls closure + * @param cls closure, with a `const struct GNUNET_CONFIGURATION_Handle *` * @param section name of the section */ static void parse_auditors (void *cls, const char *section) { + const struct GNUNET_CONFIGURATION_Handle *cfg = cfg; char *pks; struct Auditor auditor; @@ -150,7 +151,7 @@ TMH_AUDITORS_init (const struct GNUNET_CONFIGURATION_Handle *cfg) GNUNET_CONFIGURATION_iterate_sections (cfg, &parse_auditors, - NULL); + (void *) cfg); /* Generate preferred mint(s) array. */ j_auditors = json_array (); |