diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-11-27 21:03:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-11-27 21:03:37 +0100 |
commit | f46a22ebb9cc7308ed3bffcbb5227795552a08fb (patch) | |
tree | 99459be5549ad376071342dea573c6994c409514 /src/backend/taler-merchant-httpd_auditors.c | |
parent | cd1bc15c6cc942be27db20ab3ab5ba76eb90849a (diff) | |
download | merchant-f46a22ebb9cc7308ed3bffcbb5227795552a08fb.tar.gz merchant-f46a22ebb9cc7308ed3bffcbb5227795552a08fb.tar.bz2 merchant-f46a22ebb9cc7308ed3bffcbb5227795552a08fb.zip |
use new pluggable db backend, fixes FTBFS
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 (); |