summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_auditors.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-11-27 21:03:37 +0100
committerChristian Grothoff <christian@grothoff.org>2015-11-27 21:03:37 +0100
commitf46a22ebb9cc7308ed3bffcbb5227795552a08fb (patch)
tree99459be5549ad376071342dea573c6994c409514 /src/backend/taler-merchant-httpd_auditors.c
parentcd1bc15c6cc942be27db20ab3ab5ba76eb90849a (diff)
downloadmerchant-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.c5
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 ();