aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/gnunet-statistics.c')
-rw-r--r--src/statistics/gnunet-statistics.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c
index 13468592a..2331aace0 100644
--- a/src/statistics/gnunet-statistics.c
+++ b/src/statistics/gnunet-statistics.c
@@ -277,19 +277,19 @@ main (int argc, char *const *argv)
277 &GNUNET_GETOPT_set_uint, &remote_port}, 277 &GNUNET_GETOPT_set_uint, &remote_port},
278 GNUNET_GETOPT_OPTION_END 278 GNUNET_GETOPT_OPTION_END
279 }; 279 };
280
281 remote_port = 0; 280 remote_port = 0;
282 remote_host = NULL; 281 remote_host = NULL;
283 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) 282 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv))
284 return 2; 283 return 2;
285 284
286 return (GNUNET_OK == 285 ret = (GNUNET_OK ==
287 GNUNET_PROGRAM_run (argc, argv, "gnunet-statistics [options [value]]", 286 GNUNET_PROGRAM_run (argc, argv, "gnunet-statistics [options [value]]",
288 gettext_noop 287 gettext_noop
289 ("Print statistics about GNUnet operations."), 288 ("Print statistics about GNUnet operations."),
290 options, &run, NULL)) ? ret : 1; 289 options, &run, NULL)) ? ret : 1;
291 290 GNUNET_free_non_null (remote_host);
292 GNUNET_free_non_null(remote_host); 291 GNUNET_free ((void*) argv);
292 return ret;
293} 293}
294 294
295/* end of gnunet-statistics.c */ 295/* end of gnunet-statistics.c */