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/template/gnunet-template.c | |
parent | b6d09b511fbd61d3b36fde4c28624bed321bf4a1 (diff) | |
download | gnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.tar.gz gnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.zip |
-misc bugfixes, travel hacking
Diffstat (limited to 'src/template/gnunet-template.c')
-rw-r--r-- | src/template/gnunet-template.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/template/gnunet-template.c b/src/template/gnunet-template.c index 0bbbc558f..b0d25dc33 100644 --- a/src/template/gnunet-template.c +++ b/src/template/gnunet-template.c | |||
@@ -62,14 +62,15 @@ main (int argc, char *const *argv) | |||
62 | /* FIMXE: add options here */ | 62 | /* FIMXE: add options here */ |
63 | GNUNET_GETOPT_OPTION_END | 63 | GNUNET_GETOPT_OPTION_END |
64 | }; | 64 | }; |
65 | |||
66 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) | 65 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) |
67 | return 2; | 66 | return 2; |
68 | 67 | ||
69 | return (GNUNET_OK == | 68 | ret = (GNUNET_OK == |
70 | GNUNET_PROGRAM_run (argc, argv, "gnunet-template", | 69 | GNUNET_PROGRAM_run (argc, argv, "gnunet-template", |
71 | gettext_noop ("help text"), options, &run, | 70 | gettext_noop ("help text"), options, &run, |
72 | NULL)) ? ret : 1; | 71 | NULL)) ? ret : 1; |
72 | GNUNET_free ((void*) argv); | ||
73 | return ret; | ||
73 | } | 74 | } |
74 | 75 | ||
75 | /* end of gnunet-template.c */ | 76 | /* end of gnunet-template.c */ |