diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-10 22:47:57 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-10 22:47:57 +0000 |
commit | 8e2a9d941e2957cf0f7218b15043979f015cf220 (patch) | |
tree | 70380ec85a0f4841247de81e8359e063da7486c1 /src/dns/gnunet-dns-monitor.c | |
parent | c6573648cddf96bb4d09bc4dfafe8b5883a8bee4 (diff) |
LRN: new utf8 argv converter for W32, converting strings on command-line to UTF-8 for all command-line tools.
git-svn-id: https://gnunet.org/svn/gnunet@21867 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/dns/gnunet-dns-monitor.c')
-rw-r--r-- | src/dns/gnunet-dns-monitor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dns/gnunet-dns-monitor.c b/src/dns/gnunet-dns-monitor.c index 82715aabc3..2a05efdeed 100644 --- a/src/dns/gnunet-dns-monitor.c +++ b/src/dns/gnunet-dns-monitor.c @@ -342,6 +342,10 @@ main (int argc, char *const *argv) GNUNET_GETOPT_OPTION_VERBOSE (&verbosity), GNUNET_GETOPT_OPTION_END }; + + if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) + return 2; + return (GNUNET_OK == GNUNET_PROGRAM_run (argc, argv, "gnunet-dns-monitor", gettext_noop |