indenting
This commit is contained in:
parent
fc8fb5b0fd
commit
72fea453aa
@ -76,11 +76,11 @@ run (void *cls,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (gc_db)
|
if (gc_db)
|
||||||
{
|
{
|
||||||
if (GNUNET_SYSERR == plugin->gc (plugin->cls))
|
if (GNUNET_SYSERR == plugin->gc (plugin->cls))
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"Garbage collection failed!\n");
|
"Garbage collection failed!\n");
|
||||||
}
|
}
|
||||||
TALER_AUDITORDB_plugin_unload (plugin);
|
TALER_AUDITORDB_plugin_unload (plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,13 +99,13 @@ main (int argc,
|
|||||||
{
|
{
|
||||||
const struct GNUNET_GETOPT_CommandLineOption options[] = {
|
const struct GNUNET_GETOPT_CommandLineOption options[] = {
|
||||||
GNUNET_GETOPT_option_flag ('r',
|
GNUNET_GETOPT_option_flag ('r',
|
||||||
"reset",
|
"reset",
|
||||||
"reset database (DANGEROUS: all existing data is lost!)",
|
"reset database (DANGEROUS: all existing data is lost!)",
|
||||||
&reset_db),
|
&reset_db),
|
||||||
GNUNET_GETOPT_option_flag ('g',
|
GNUNET_GETOPT_option_flag ('g',
|
||||||
"gc",
|
"gc",
|
||||||
"garbage collect database",
|
"garbage collect database",
|
||||||
&gc_db),
|
&gc_db),
|
||||||
GNUNET_GETOPT_OPTION_END
|
GNUNET_GETOPT_OPTION_END
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -120,9 +120,9 @@ main (int argc,
|
|||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_PROGRAM_run (argc, argv,
|
GNUNET_PROGRAM_run (argc, argv,
|
||||||
"taler-auditor-dbinit",
|
"taler-auditor-dbinit",
|
||||||
"Initialize Taler auditor database",
|
"Initialize Taler auditor database",
|
||||||
options,
|
options,
|
||||||
&run, NULL))
|
&run, NULL))
|
||||||
return 1;
|
return 1;
|
||||||
return global_ret;
|
return global_ret;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
This file is part of TALER
|
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
|
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
|
terms of the GNU General Public License as published by the Free Software
|
||||||
@ -137,8 +137,8 @@ main (int argc,
|
|||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (NULL ==
|
if (NULL ==
|
||||||
(adb = TALER_AUDITORDB_plugin_load (cfg)))
|
(adb = TALER_AUDITORDB_plugin_load (cfg)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user