diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-04 21:01:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-04 21:01:22 +0000 |
commit | 0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf (patch) | |
tree | ac53b9088e75b7041e14e3455698a75da085b3d7 /src/pt | |
parent | b6d09b511fbd61d3b36fde4c28624bed321bf4a1 (diff) | |
download | gnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.tar.gz gnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.zip |
-misc bugfixes, travel hacking
Diffstat (limited to 'src/pt')
-rw-r--r-- | src/pt/gnunet-daemon-pt.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c index 2658ae165..8044f930c 100644 --- a/src/pt/gnunet-daemon-pt.c +++ b/src/pt/gnunet-daemon-pt.c | |||
@@ -966,15 +966,17 @@ main (int argc, char *const *argv) | |||
966 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { | 966 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { |
967 | GNUNET_GETOPT_OPTION_END | 967 | GNUNET_GETOPT_OPTION_END |
968 | }; | 968 | }; |
969 | int ret; | ||
969 | 970 | ||
970 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) | 971 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) |
971 | return 2; | 972 | return 2; |
972 | 973 | ret = (GNUNET_OK == | |
973 | return (GNUNET_OK == | 974 | GNUNET_PROGRAM_run (argc, argv, "gnunet-daemon-pt", |
974 | GNUNET_PROGRAM_run (argc, argv, "gnunet-daemon-pt", | 975 | gettext_noop |
975 | gettext_noop | 976 | ("Daemon to run to perform IP protocol translation to GNUnet"), |
976 | ("Daemon to run to perform IP protocol translation to GNUnet"), | 977 | options, &run, NULL)) ? 0 : 1; |
977 | options, &run, NULL)) ? 0 : 1; | 978 | GNUNET_free ((void*) argv); |
979 | return ret; | ||
978 | } | 980 | } |
979 | 981 | ||
980 | 982 | ||