aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-27 19:01:04 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-27 19:01:04 +0000
commit383eec1895fff4a83f26bb8244d86571dd5baef9 (patch)
treedc6eccf68932c71785ee86d688ebebeda2ac4025 /src/topology
parent195267a6ac380d106d9409aa296885251d102c8e (diff)
downloadgnunet-383eec1895fff4a83f26bb8244d86571dd5baef9.tar.gz
gnunet-383eec1895fff4a83f26bb8244d86571dd5baef9.zip
reducing error messages about missing configuration options by introducing new helper functions to print them uniformly
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/gnunet-daemon-topology.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 3578b9e9b..9bd6d8e19 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -1022,9 +1022,8 @@ read_friends_file (const struct GNUNET_CONFIGURATION_Handle *cfg)
1022 if (GNUNET_OK != 1022 if (GNUNET_OK !=
1023 GNUNET_CONFIGURATION_get_value_filename (cfg, "TOPOLOGY", "FRIENDS", &fn)) 1023 GNUNET_CONFIGURATION_get_value_filename (cfg, "TOPOLOGY", "FRIENDS", &fn))
1024 { 1024 {
1025 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 1025 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
1026 _("Option `%s' in section `%s' not specified!\n"), "FRIENDS", 1026 "topology", "FRIENDS");
1027 "TOPOLOGY");
1028 return; 1027 return;
1029 } 1028 }
1030 if (GNUNET_OK != GNUNET_DISK_file_test (fn)) 1029 if (GNUNET_OK != GNUNET_DISK_file_test (fn))