aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-unindex.c
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/fs/gnunet-unindex.c
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/fs/gnunet-unindex.c')
-rw-r--r--src/fs/gnunet-unindex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/gnunet-unindex.c b/src/fs/gnunet-unindex.c
index 3e8308df2..f4e352737 100644
--- a/src/fs/gnunet-unindex.c
+++ b/src/fs/gnunet-unindex.c
@@ -170,6 +170,10 @@ main (int argc, char *const *argv)
170 0, &GNUNET_GETOPT_set_one, &verbose}, 170 0, &GNUNET_GETOPT_set_one, &verbose},
171 GNUNET_GETOPT_OPTION_END 171 GNUNET_GETOPT_OPTION_END
172 }; 172 };
173
174 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv))
175 return 2;
176
173 return (GNUNET_OK == 177 return (GNUNET_OK ==
174 GNUNET_PROGRAM_run (argc, argv, "gnunet-unindex [OPTIONS] FILENAME", 178 GNUNET_PROGRAM_run (argc, argv, "gnunet-unindex [OPTIONS] FILENAME",
175 gettext_noop 179 gettext_noop