aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/test_quota_compliance.c9
-rw-r--r--src/transport/test_transport_api.c12
-rw-r--r--src/transport/test_transport_api_reliability.c3
3 files changed, 15 insertions, 9 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index ef4f999be..086561095 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -800,12 +800,12 @@ int
800main (int argc, char *argv[]) 800main (int argc, char *argv[])
801{ 801{
802 int ret = 0; 802 int ret = 0;
803#ifdef MINGW
804 return GNUNET_SYSERR;
805#endif
806 if (strstr(argv[0], "tcp_nat") != NULL) 803 if (strstr(argv[0], "tcp_nat") != NULL)
807 { 804 {
808 is_tcp_nat = GNUNET_YES; 805 is_tcp_nat = GNUNET_YES;
806#ifdef MINGW
807 return 0;
808#endif
809 } 809 }
810 else if (strstr(argv[0], "tcp") != NULL) 810 else if (strstr(argv[0], "tcp") != NULL)
811 { 811 {
@@ -814,6 +814,9 @@ main (int argc, char *argv[])
814 else if (strstr(argv[0], "https") != NULL) 814 else if (strstr(argv[0], "https") != NULL)
815 { 815 {
816 is_https = GNUNET_YES; 816 is_https = GNUNET_YES;
817#ifdef MINGW
818 return 0;
819#endif
817 } 820 }
818 else if (strstr(argv[0], "http") != NULL) 821 else if (strstr(argv[0], "http") != NULL)
819 { 822 {
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
656main (int argc, char *argv[]) 656main (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 {
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c
index 7fc9d43b4..de5079c4f 100644
--- a/src/transport/test_transport_api_reliability.c
+++ b/src/transport/test_transport_api_reliability.c
@@ -840,9 +840,6 @@ int
840main (int argc, char *argv[]) 840main (int argc, char *argv[])
841{ 841{
842 int ret; 842 int ret;
843#ifdef MINGW
844 return GNUNET_SYSERR;
845#endif
846 843
847 if (strstr(argv[0], "tcp_nat") != NULL) 844 if (strstr(argv[0], "tcp_nat") != NULL)
848 { 845 {