use proper default configuration
This commit is contained in:
parent
0ade45d315
commit
e9f43adb5b
@ -95,6 +95,8 @@ main (int argc,
|
||||
options,
|
||||
argc, argv) <= 0)
|
||||
return 1;
|
||||
if (NULL == cfgfile)
|
||||
cfgfile = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file);
|
||||
cfg = GNUNET_CONFIGURATION_create ();
|
||||
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||
@ -195,8 +197,7 @@ main (int argc,
|
||||
if (0 == qs)
|
||||
{
|
||||
fprintf (stderr,
|
||||
"Did not update auditor DB: value existed\n",
|
||||
qs);
|
||||
"Did not update auditor DB: value existed\n");
|
||||
TALER_AUDITORDB_plugin_unload (adb);
|
||||
return 4;
|
||||
}
|
||||
|
@ -195,6 +195,8 @@ main (int argc,
|
||||
options,
|
||||
argc, argv) <= 0)
|
||||
return 1;
|
||||
if (NULL == cfgfile)
|
||||
cfgfile = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file);
|
||||
cfg = GNUNET_CONFIGURATION_create ();
|
||||
if (GNUNET_SYSERR ==
|
||||
GNUNET_CONFIGURATION_load (cfg,
|
||||
|
@ -787,6 +787,8 @@ main (int argc,
|
||||
TALER_LOG_ERROR ("Unknown mode given: '%s'\n", mode_str);
|
||||
return BAD_CONFIG_FILE;
|
||||
}
|
||||
if (NULL == cfgfile)
|
||||
cfgfile = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file);
|
||||
cfg = GNUNET_CONFIGURATION_create ();
|
||||
if (GNUNET_OK !=
|
||||
GNUNET_CONFIGURATION_load (cfg,
|
||||
|
Loading…
Reference in New Issue
Block a user