aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-10 22:47:57 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-10 22:47:57 +0000
commit7e5c0a94bacdfe6e1c65035b16fd97a77398df12 (patch)
tree70380ec85a0f4841247de81e8359e063da7486c1 /src/nse
parentdf62a12c9b51fd13cc37058d4a88a32d93386d79 (diff)
downloadgnunet-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/nse')
-rw-r--r--src/nse/gnunet-nse-profiler.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c
index 4a4bea5ed..cf88690d5 100644
--- a/src/nse/gnunet-nse-profiler.c
+++ b/src/nse/gnunet-nse-profiler.c
@@ -914,8 +914,11 @@ static struct GNUNET_GETOPT_CommandLineOption options[] = {
914 914
915 915
916int 916int
917main (int argc, char *argv[]) 917main (int argc, char *const *argv)
918{ 918{
919 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv))
920 return 2;
921
919 GNUNET_log_setup ("nse-profiler", 922 GNUNET_log_setup ("nse-profiler",
920#if VERBOSE 923#if VERBOSE
921 "DEBUG", 924 "DEBUG",