aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-statistics.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-04 21:01:22 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-04 21:01:22 +0000
commit0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf (patch)
treeac53b9088e75b7041e14e3455698a75da085b3d7 /src/statistics/gnunet-statistics.c
parentb6d09b511fbd61d3b36fde4c28624bed321bf4a1 (diff)
downloadgnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.tar.gz
gnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.zip
-misc bugfixes, travel hacking
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 */