diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-09-05 18:27:53 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-09-05 18:27:53 +0200 |
commit | f9f3cbe9fcedfb8ca95275d5e406b1270062d7ea (patch) | |
tree | 27b0edf698cb8044dcd9b51833271454e6c29aa5 /src/util/configuration_helper.c | |
parent | b4e034d9aa471c6244718914e08be3ee414b18e6 (diff) | |
download | gnunet-f9f3cbe9fcedfb8ca95275d5e406b1270062d7ea.tar.gz gnunet-f9f3cbe9fcedfb8ca95275d5e406b1270062d7ea.zip |
make backend-check a gnunet-only gnunet-config option
Diffstat (limited to 'src/util/configuration_helper.c')
-rw-r--r-- | src/util/configuration_helper.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/util/configuration_helper.c b/src/util/configuration_helper.c index eb8b543d1..8f995ec03 100644 --- a/src/util/configuration_helper.c +++ b/src/util/configuration_helper.c | |||
@@ -115,19 +115,6 @@ GNUNET_CONFIGURATION_config_tool_run ( | |||
115 | struct GNUNET_CONFIGURATION_Handle *ncfg = NULL; | 115 | struct GNUNET_CONFIGURATION_Handle *ncfg = NULL; |
116 | 116 | ||
117 | (void) args; | 117 | (void) args; |
118 | if (NULL != cs->backend_check) | ||
119 | { | ||
120 | char *name; | ||
121 | |||
122 | GNUNET_asprintf (&name, | ||
123 | "libgnunet_plugin_%s", | ||
124 | cs->backend_check); | ||
125 | cs->global_ret = (GNUNET_OK == | ||
126 | GNUNET_PLUGIN_test (name)) ? 0 : 77; | ||
127 | GNUNET_free (name); | ||
128 | return; | ||
129 | } | ||
130 | |||
131 | if (cs->diagnostics) | 118 | if (cs->diagnostics) |
132 | { | 119 | { |
133 | /* Re-parse the configuration with diagnostics enabled. */ | 120 | /* Re-parse the configuration with diagnostics enabled. */ |
@@ -309,7 +296,6 @@ GNUNET_CONFIGURATION_config_settings_free ( | |||
309 | GNUNET_free (cs->option); | 296 | GNUNET_free (cs->option); |
310 | GNUNET_free (cs->section); | 297 | GNUNET_free (cs->section); |
311 | GNUNET_free (cs->value); | 298 | GNUNET_free (cs->value); |
312 | GNUNET_free (cs->backend_check); | ||
313 | } | 299 | } |
314 | 300 | ||
315 | 301 | ||