if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_filename (cfg, section, option, &value))
{
- fprintf (stderr, _("No value for option `%s' in section `%s'\n"),
- option, section);
+ GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
+ section, option);
ret = 3;
return;
}
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg, section, option, &value))
{
- fprintf (stderr, _("No value for option `%s' in section `%s'\n"),
- option, section);
+ GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
+ section, option);
ret = 3;
return;
}
/**
- * The main function to obtain statistics in GNUnet.
+ * Program to manipulate configuration files.
*
* @param argc number of arguments from the command line
* @param argv command line arguments