diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-21 18:58:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-21 18:58:19 +0000 |
commit | 37ffba0e788aa5bad59503b1378d13780976b14e (patch) | |
tree | 10a1e2961c1ef622df35a0bd3b5d0a9334e4997b /src/transport/test_transport_api.c | |
parent | 3863fcf57b835f52b641ca5cf7e7dacc0c73b97f (diff) | |
download | gnunet-37ffba0e788aa5bad59503b1378d13780976b14e.tar.gz gnunet-37ffba0e788aa5bad59503b1378d13780976b14e.zip |
mantis 1718
Diffstat (limited to 'src/transport/test_transport_api.c')
-rw-r--r-- | src/transport/test_transport_api.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 3da87d2c8..f51e96ff2 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c | |||
@@ -656,9 +656,6 @@ int | |||
656 | main (int argc, char *argv[]) | 656 | main (int argc, char *argv[]) |
657 | { | 657 | { |
658 | int ret; | 658 | int ret; |
659 | #ifdef MINGW | ||
660 | return GNUNET_SYSERR; | ||
661 | #endif | ||
662 | 659 | ||
663 | GNUNET_log_setup ("test-transport-api", | 660 | GNUNET_log_setup ("test-transport-api", |
664 | #if VERBOSE | 661 | #if VERBOSE |
@@ -671,6 +668,9 @@ main (int argc, char *argv[]) | |||
671 | if (strstr(argv[0], "tcp_nat") != NULL) | 668 | if (strstr(argv[0], "tcp_nat") != NULL) |
672 | { | 669 | { |
673 | is_tcp_nat = GNUNET_YES; | 670 | is_tcp_nat = GNUNET_YES; |
671 | #ifdef MINGW | ||
672 | return 0; | ||
673 | #endif | ||
674 | if (GNUNET_YES != check_gnunet_nat_binary("gnunet-nat-server")) | 674 | if (GNUNET_YES != check_gnunet_nat_binary("gnunet-nat-server")) |
675 | { | 675 | { |
676 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 676 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
@@ -686,6 +686,9 @@ main (int argc, char *argv[]) | |||
686 | else if (strstr(argv[0], "udp_nat") != NULL) | 686 | else if (strstr(argv[0], "udp_nat") != NULL) |
687 | { | 687 | { |
688 | is_udp_nat = GNUNET_YES; | 688 | is_udp_nat = GNUNET_YES; |
689 | #ifdef MINGW | ||
690 | return 0; | ||
691 | #endif | ||
689 | if (GNUNET_YES != check_gnunet_nat_binary("gnunet-nat-server")) | 692 | if (GNUNET_YES != check_gnunet_nat_binary("gnunet-nat-server")) |
690 | { | 693 | { |
691 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 694 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
@@ -705,6 +708,9 @@ main (int argc, char *argv[]) | |||
705 | else if (strstr(argv[0], "https") != NULL) | 708 | else if (strstr(argv[0], "https") != NULL) |
706 | { | 709 | { |
707 | is_https = GNUNET_YES; | 710 | is_https = GNUNET_YES; |
711 | #ifdef MINGW | ||
712 | return 0; | ||
713 | #endif | ||
708 | } | 714 | } |
709 | else if (strstr(argv[0], "http") != NULL) | 715 | else if (strstr(argv[0], "http") != NULL) |
710 | { | 716 | { |