aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-config.c')
-rw-r--r--src/util/gnunet-config.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/util/gnunet-config.c b/src/util/gnunet-config.c
index 78c93c3b8..e1aa94a5c 100644
--- a/src/util/gnunet-config.c
+++ b/src/util/gnunet-config.c
@@ -170,14 +170,15 @@ main (int argc, char *const *argv)
170 1, &GNUNET_GETOPT_set_string, &value }, 170 1, &GNUNET_GETOPT_set_string, &value },
171 GNUNET_GETOPT_OPTION_END 171 GNUNET_GETOPT_OPTION_END
172 }; 172 };
173
174 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) 173 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv))
175 return 2; 174 return 2;
176 175
177 return (GNUNET_OK == 176 ret = (GNUNET_OK ==
178 GNUNET_PROGRAM_run (argc, argv, "gnunet-config [OPTIONS]", 177 GNUNET_PROGRAM_run (argc, argv, "gnunet-config [OPTIONS]",
179 gettext_noop ("Manipulate GNUnet configuration files"), 178 gettext_noop ("Manipulate GNUnet configuration files"),
180 options, &run, NULL)) ? 0 : ret; 179 options, &run, NULL)) ? 0 : ret;
180 GNUNET_free ((void*) argv);
181 return ret;
181} 182}
182 183
183/* end of gnunet-config.c */ 184/* end of gnunet-config.c */