summaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-02-14 14:23:16 +0100
committerChristian Grothoff <christian@grothoff.org>2019-02-14 14:23:16 +0100
commita98825675b37988c059576b5bfd98bac173bdc25 (patch)
tree8e7e392fdfc688af5a1066c728f6ef7807e1846a /src/auditor/taler-auditor.c
parente56ed85f4f11f3daec80326f7d43635281b3806b (diff)
downloadexchange-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.c7
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)))