diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-10 22:47:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-10 22:47:57 +0000 |
commit | 7e5c0a94bacdfe6e1c65035b16fd97a77398df12 (patch) | |
tree | 70380ec85a0f4841247de81e8359e063da7486c1 /src/testing_old/gnunet-testing.c | |
parent | df62a12c9b51fd13cc37058d4a88a32d93386d79 (diff) | |
download | gnunet-7e5c0a94bacdfe6e1c65035b16fd97a77398df12.tar.gz gnunet-7e5c0a94bacdfe6e1c65035b16fd97a77398df12.zip |
LRN: new utf8 argv converter for W32, converting strings on command-line to UTF-8 for all command-line tools.
Diffstat (limited to 'src/testing_old/gnunet-testing.c')
-rw-r--r-- | src/testing_old/gnunet-testing.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testing_old/gnunet-testing.c b/src/testing_old/gnunet-testing.c index bdbb5e8c5..375185b0e 100644 --- a/src/testing_old/gnunet-testing.c +++ b/src/testing_old/gnunet-testing.c | |||
@@ -282,6 +282,10 @@ main (int argc, char *const *argv) | |||
282 | GNUNET_YES, &GNUNET_GETOPT_set_string, &create_cfg_template}, | 282 | GNUNET_YES, &GNUNET_GETOPT_set_string, &create_cfg_template}, |
283 | GNUNET_GETOPT_OPTION_END | 283 | GNUNET_GETOPT_OPTION_END |
284 | }; | 284 | }; |
285 | |||
286 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) | ||
287 | return 2; | ||
288 | |||
285 | return (GNUNET_OK == | 289 | return (GNUNET_OK == |
286 | GNUNET_PROGRAM_run (argc, argv, "gnunet-testing", | 290 | GNUNET_PROGRAM_run (argc, argv, "gnunet-testing", |
287 | gettext_noop ("Command line tool to access the testing library"), options, &run, | 291 | gettext_noop ("Command line tool to access the testing library"), options, &run, |