diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-14 14:23:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-14 14:23:16 +0100 |
commit | a98825675b37988c059576b5bfd98bac173bdc25 (patch) | |
tree | 8e7e392fdfc688af5a1066c728f6ef7807e1846a /src/auditor/taler-auditor.c | |
parent | e56ed85f4f11f3daec80326f7d43635281b3806b (diff) | |
download | exchange-a98825675b37988c059576b5bfd98bac173bdc25.tar.gz exchange-a98825675b37988c059576b5bfd98bac173bdc25.tar.bz2 exchange-a98825675b37988c059576b5bfd98bac173bdc25.zip |
add option to be selective about dropping the exchange list
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r-- | src/auditor/taler-auditor.c | 7 |
1 files changed, 4 insertions, 3 deletions
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))) |