diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-27 19:01:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-27 19:01:04 +0000 |
commit | 383eec1895fff4a83f26bb8244d86571dd5baef9 (patch) | |
tree | dc6eccf68932c71785ee86d688ebebeda2ac4025 /src/dv | |
parent | 195267a6ac380d106d9409aa296885251d102c8e (diff) | |
download | gnunet-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/dv')
-rw-r--r-- | src/dv/test_transport_api_dv.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/dv/test_transport_api_dv.c b/src/dv/test_transport_api_dv.c index b24bfbf31..769694f90 100644 --- a/src/dv/test_transport_api_dv.c +++ b/src/dv/test_transport_api_dv.c | |||
@@ -1131,11 +1131,9 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
1131 | (connect_topology_option_modifier_string, "%lf", | 1131 | (connect_topology_option_modifier_string, "%lf", |
1132 | &connect_topology_option_modifier) != 1) | 1132 | &connect_topology_option_modifier) != 1) |
1133 | { | 1133 | { |
1134 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1134 | GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_WARNING, |
1135 | _ | 1135 | "testing", "connect_topology_option_modifier", |
1136 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 1136 | "expected float"); |
1137 | connect_topology_option_modifier_string, | ||
1138 | "connect_topology_option_modifier", "TESTING"); | ||
1139 | } | 1137 | } |
1140 | GNUNET_free (connect_topology_option_modifier_string); | 1138 | GNUNET_free (connect_topology_option_modifier_string); |
1141 | } | 1139 | } |