diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-16 11:01:38 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-16 11:01:38 +0200 |
commit | c1c40eaa24926273a6aa688e92e99d832aa1501e (patch) | |
tree | d5d01686cd125e70d1702ac5bbc2660c71d90760 /src/backend/anastasis-httpd_config.c | |
parent | 3b90e437e26013f5570d6c216b832c7bcd740712 (diff) | |
download | anastasis-c1c40eaa24926273a6aa688e92e99d832aa1501e.tar.gz anastasis-c1c40eaa24926273a6aa688e92e99d832aa1501e.tar.bz2 anastasis-c1c40eaa24926273a6aa688e92e99d832aa1501e.zip |
-preparations for sepa auth plugin
Diffstat (limited to 'src/backend/anastasis-httpd_config.c')
-rw-r--r-- | src/backend/anastasis-httpd_config.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/anastasis-httpd_config.c b/src/backend/anastasis-httpd_config.c index 89b82d0..d265f99 100644 --- a/src/backend/anastasis-httpd_config.c +++ b/src/backend/anastasis-httpd_config.c @@ -40,7 +40,6 @@ add_methods (void *cls, { json_t *method_arr = cls; struct ANASTASIS_AuthorizationPlugin *p; - struct TALER_Amount cost; json_t *method; if (0 != strncasecmp (section, @@ -54,8 +53,7 @@ add_methods (void *cls, return; section += strlen ("authorization-"); p = ANASTASIS_authorization_plugin_load (section, - AH_cfg, - &cost); + AH_cfg); if (NULL == p) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, @@ -67,7 +65,7 @@ add_methods (void *cls, GNUNET_JSON_pack_string ("type", section), TALER_JSON_pack_amount ("cost", - &cost)); + &p->cost)); GNUNET_assert ( 0 == json_array_append_new (method_arr, |