diff options
Diffstat (limited to 'src/auditor')
-rw-r--r-- | src/auditor/taler-auditor-dbinit.c | 3 | ||||
-rw-r--r-- | src/auditor/taler-auditor.c | 7 | ||||
-rw-r--r-- | src/auditor/taler-wire-auditor.c | 3 |
3 files changed, 8 insertions, 5 deletions
diff --git a/src/auditor/taler-auditor-dbinit.c b/src/auditor/taler-auditor-dbinit.c index 185a39413..5031ed9f5 100644 --- a/src/auditor/taler-auditor-dbinit.c +++ b/src/auditor/taler-auditor-dbinit.c @@ -64,7 +64,8 @@ run (void *cls, return; } if (reset_db) - (void) plugin->drop_tables (plugin->cls); + (void) plugin->drop_tables (plugin->cls, + GNUNET_YES); if (GNUNET_OK != plugin->create_tables (plugin->cls)) { diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index dced807b1..d3afbb3d1 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -2489,7 +2489,7 @@ get_wire_fee (struct AggregationContext *ac, * @return #GNUNET_OK to continue, #GNUNET_SYSERR to stop iteration */ static int -check_wire_out_cb +check_wire_out_cb (void *cls, uint64_t rowid, struct GNUNET_TIME_Absolute date, @@ -4391,7 +4391,7 @@ test_master_present (void *cls, const char *exchange_url) { int *found = cls; - + (void) exchange_url; if (0 == memcmp (mpub, &master_pub, @@ -4529,7 +4529,8 @@ run (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Full audit restart requested, dropping old audit data.\n"); GNUNET_break (GNUNET_OK == - adb->drop_tables (adb->cls)); + adb->drop_tables (adb->cls, + GNUNET_NO)); TALER_AUDITORDB_plugin_unload (adb); if (NULL == (adb = TALER_AUDITORDB_plugin_load (cfg))) diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c index 6e66ea99c..c903a4943 100644 --- a/src/auditor/taler-wire-auditor.c +++ b/src/auditor/taler-wire-auditor.c @@ -1605,7 +1605,8 @@ run (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Full audit restart requested, dropping old audit data.\n"); GNUNET_break (GNUNET_OK == - adb->drop_tables (adb->cls)); + adb->drop_tables (adb->cls, + GNUNET_NO)); TALER_AUDITORDB_plugin_unload (adb); if (NULL == (adb = TALER_AUDITORDB_plugin_load (cfg))) |