diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-07-05 23:28:07 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-07-05 23:28:07 +0200 |
commit | 4ae4bcb747b95d1ad296a55a3802a8a35437d845 (patch) | |
tree | cf1d7148e5c3aa98d96f80fb9bb9fcf82921444f /src/gns | |
parent | 0b08174e0192dfa5b514263d2dd6bcb79391d07c (diff) | |
download | gnunet-4ae4bcb747b95d1ad296a55a3802a8a35437d845.tar.gz gnunet-4ae4bcb747b95d1ad296a55a3802a8a35437d845.zip |
-fix: failing tests
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/test_gns_proxy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gns/test_gns_proxy.c b/src/gns/test_gns_proxy.c index c0002673b..13764d520 100644 --- a/src/gns/test_gns_proxy.c +++ b/src/gns/test_gns_proxy.c | |||
@@ -528,6 +528,8 @@ run (void *cls, | |||
528 | int | 528 | int |
529 | main (int argc, char *const *argv) | 529 | main (int argc, char *const *argv) |
530 | { | 530 | { |
531 | char *tmp_argv; | ||
532 | |||
531 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 533 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
532 | GNUNET_GETOPT_option_uint16 ('p', | 534 | GNUNET_GETOPT_option_uint16 ('p', |
533 | "port", | 535 | "port", |
@@ -557,7 +559,7 @@ main (int argc, char *const *argv) | |||
557 | } | 559 | } |
558 | if (GNUNET_OK != | 560 | if (GNUNET_OK != |
559 | GNUNET_STRINGS_get_utf8_args (argc, argv, | 561 | GNUNET_STRINGS_get_utf8_args (argc, argv, |
560 | &argc, &argv)) | 562 | &argc, &tmp_argv)) |
561 | return 2; | 563 | return 2; |
562 | GNUNET_log_setup ("gnunet-gns-proxy-test", | 564 | GNUNET_log_setup ("gnunet-gns-proxy-test", |
563 | "WARNING", | 565 | "WARNING", |
@@ -568,7 +570,7 @@ main (int argc, char *const *argv) | |||
568 | options, | 570 | options, |
569 | &run, NULL)) | 571 | &run, NULL)) |
570 | return 1; | 572 | return 1; |
571 | GNUNET_free ((char *) argv); | 573 | GNUNET_free (tmp_argv); |
572 | return global_ret; | 574 | return global_ret; |
573 | } | 575 | } |
574 | 576 | ||