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/namestore/gnunet-namestore.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/namestore/gnunet-namestore.c')
-rw-r--r-- | src/namestore/gnunet-namestore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index a0d1de10a..624981201 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -493,6 +493,9 @@ main (int argc, char *const *argv) | |||
493 | 493 | ||
494 | int ret; | 494 | int ret; |
495 | 495 | ||
496 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) | ||
497 | return 2; | ||
498 | |||
496 | GNUNET_log_setup ("gnunet-namestore", "WARNING", NULL); | 499 | GNUNET_log_setup ("gnunet-namestore", "WARNING", NULL); |
497 | ret = | 500 | ret = |
498 | (GNUNET_OK == | 501 | (GNUNET_OK == |