indenting

This commit is contained in:
Christian Grothoff 2019-06-30 17:10:34 +02:00
parent fc8fb5b0fd
commit 72fea453aa
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 17 additions and 17 deletions

View File

@ -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;
}

View File

@ -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)))
{