diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-30 17:10:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-30 17:13:01 +0200 |
commit | 72fea453aa1d604f8172d736326010efe0300607 (patch) | |
tree | 883adba6550ae80bfaf8f4916a1eac95fa18b456 /src/auditor | |
parent | fc8fb5b0fd8109094d81ba431eee9c209bc3eebc (diff) |
indenting
Diffstat (limited to 'src/auditor')
-rw-r--r-- | src/auditor/taler-auditor-dbinit.c | 28 | ||||
-rw-r--r-- | src/auditor/taler-auditor-exchange.c | 6 |
2 files changed, 17 insertions, 17 deletions
diff --git a/src/auditor/taler-auditor-dbinit.c b/src/auditor/taler-auditor-dbinit.c index 5031ed9f5..6b4e3424e 100644 --- a/src/auditor/taler-auditor-dbinit.c +++ b/src/auditor/taler-auditor-dbinit.c @@ -76,11 +76,11 @@ run (void *cls, return; } if (gc_db) - { - if (GNUNET_SYSERR == plugin->gc (plugin->cls)) - fprintf (stderr, - "Garbage collection failed!\n"); - } + { + if (GNUNET_SYSERR == plugin->gc (plugin->cls)) + fprintf (stderr, + "Garbage collection failed!\n"); + } TALER_AUDITORDB_plugin_unload (plugin); } @@ -99,13 +99,13 @@ main (int argc, { const struct GNUNET_GETOPT_CommandLineOption options[] = { GNUNET_GETOPT_option_flag ('r', - "reset", - "reset database (DANGEROUS: all existing data is lost!)", - &reset_db), + "reset", + "reset database (DANGEROUS: all existing data is lost!)", + &reset_db), GNUNET_GETOPT_option_flag ('g', - "gc", - "garbage collect database", - &gc_db), + "gc", + "garbage collect database", + &gc_db), GNUNET_GETOPT_OPTION_END }; @@ -120,9 +120,9 @@ main (int argc, if (GNUNET_OK != GNUNET_PROGRAM_run (argc, argv, "taler-auditor-dbinit", - "Initialize Taler auditor database", - options, - &run, NULL)) + "Initialize Taler auditor database", + options, + &run, NULL)) return 1; return global_ret; } diff --git a/src/auditor/taler-auditor-exchange.c b/src/auditor/taler-auditor-exchange.c index 312896e47..4837601d8 100644 --- a/src/auditor/taler-auditor-exchange.c +++ b/src/auditor/taler-auditor-exchange.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2014, 2015, 2018 GNUnet e.V. + Copyright (C) 2014, 2015, 2018, 2019 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -137,8 +137,8 @@ main (int argc, return 3; } } - - + + if (NULL == (adb = TALER_AUDITORDB_plugin_load (cfg))) { |