-ecc sign/verify only
[oweals/gnunet.git] / src / util / gnunet-config.c
index 5c8a715de71850410047f61a0ccecbc682580d54..78c93c3b854900d0c4f37b4d4fdfdb5e63852d6b 100644 (file)
@@ -106,8 +106,8 @@ run (void *cls, char *const *args, const char *cfgfile,
        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;
        }
@@ -117,8 +117,8 @@ run (void *cls, char *const *args, const char *cfgfile,
        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;
        }
@@ -146,7 +146,7 @@ run (void *cls, char *const *args, const char *cfgfile,
 
 
 /**
- * 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