diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-23 08:24:59 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-23 08:24:59 +0200 |
commit | 01e06eb715938b914c54123c21c7c7678e08ee02 (patch) | |
tree | 85d8053916faa7bfddb711023d8c7959cb83aa5f /src/auditor/taler-auditor-httpd_exchanges.c | |
parent | 82a5038acf5302957ca450d9c262f6fed59a45ba (diff) | |
download | exchange-01e06eb715938b914c54123c21c7c7678e08ee02.tar.xz |
-remove sessions also from auditor
Diffstat (limited to 'src/auditor/taler-auditor-httpd_exchanges.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd_exchanges.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/auditor/taler-auditor-httpd_exchanges.c b/src/auditor/taler-auditor-httpd_exchanges.c index 7b54b6d49..f9a9e9e60 100644 --- a/src/auditor/taler-auditor-httpd_exchanges.c +++ b/src/auditor/taler-auditor-httpd_exchanges.c @@ -75,15 +75,14 @@ TAH_EXCHANGES_handler (struct TAH_RequestHandler *rh, size_t *upload_data_size) { json_t *ja; - struct TALER_AUDITORDB_Session *session; enum GNUNET_DB_QueryStatus qs; (void) rh; (void) connection_cls; (void) upload_data; (void) upload_data_size; - session = TAH_plugin->get_session (TAH_plugin->cls); - if (NULL == session) + if (GNUNET_SYSERR == + TAH_plugin->preflight (TAH_plugin->cls)) { GNUNET_break (0); return TALER_MHD_reply_with_error (connection, @@ -94,7 +93,6 @@ TAH_EXCHANGES_handler (struct TAH_RequestHandler *rh, ja = json_array (); GNUNET_break (NULL != ja); qs = TAH_plugin->list_exchanges (TAH_plugin->cls, - session, &add_exchange, ja); if (0 > qs) |