gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r15732 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r15732 - gnunet/src/transport
Date: Tue, 21 Jun 2011 20:58:20 +0200

Author: grothoff
Date: 2011-06-21 20:58:19 +0200 (Tue, 21 Jun 2011)
New Revision: 15732

Modified:
   gnunet/src/transport/test_quota_compliance.c
   gnunet/src/transport/test_transport_api.c
   gnunet/src/transport/test_transport_api_reliability.c
Log:
mantis 1718

Modified: gnunet/src/transport/test_quota_compliance.c
===================================================================
--- gnunet/src/transport/test_quota_compliance.c        2011-06-21 13:00:30 UTC 
(rev 15731)
+++ gnunet/src/transport/test_quota_compliance.c        2011-06-21 18:58:19 UTC 
(rev 15732)
@@ -800,12 +800,12 @@
 main (int argc, char *argv[])
 {
   int ret = 0;
-#ifdef MINGW
-  return GNUNET_SYSERR;
-#endif
   if (strstr(argv[0], "tcp_nat") != NULL)
     {
       is_tcp_nat = GNUNET_YES;
+#ifdef MINGW
+      return 0;
+#endif
     }
   else if (strstr(argv[0], "tcp") != NULL)
     {
@@ -814,6 +814,9 @@
   else if (strstr(argv[0], "https") != NULL)
     {
       is_https = GNUNET_YES;
+#ifdef MINGW
+      return 0;
+#endif
     }
   else if (strstr(argv[0], "http") != NULL)
     {

Modified: gnunet/src/transport/test_transport_api.c
===================================================================
--- gnunet/src/transport/test_transport_api.c   2011-06-21 13:00:30 UTC (rev 
15731)
+++ gnunet/src/transport/test_transport_api.c   2011-06-21 18:58:19 UTC (rev 
15732)
@@ -656,9 +656,6 @@
 main (int argc, char *argv[])
 {
   int ret;
-#ifdef MINGW
-  return GNUNET_SYSERR;
-#endif
 
   GNUNET_log_setup ("test-transport-api",
 #if VERBOSE
@@ -671,6 +668,9 @@
   if (strstr(argv[0], "tcp_nat") != NULL)
     {
       is_tcp_nat = GNUNET_YES;
+#ifdef MINGW
+      return 0;
+#endif
       if (GNUNET_YES != check_gnunet_nat_binary("gnunet-nat-server"))
         {
           GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -686,6 +686,9 @@
   else if (strstr(argv[0], "udp_nat") != NULL)
     {
       is_udp_nat = GNUNET_YES;
+#ifdef MINGW
+      return 0;
+#endif
       if (GNUNET_YES != check_gnunet_nat_binary("gnunet-nat-server"))
         {
           GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -705,6 +708,9 @@
   else if (strstr(argv[0], "https") != NULL)
     {
       is_https = GNUNET_YES;
+#ifdef MINGW
+      return 0;
+#endif
     }
   else if (strstr(argv[0], "http") != NULL)
     {

Modified: gnunet/src/transport/test_transport_api_reliability.c
===================================================================
--- gnunet/src/transport/test_transport_api_reliability.c       2011-06-21 
13:00:30 UTC (rev 15731)
+++ gnunet/src/transport/test_transport_api_reliability.c       2011-06-21 
18:58:19 UTC (rev 15732)
@@ -840,9 +840,6 @@
 main (int argc, char *argv[])
 {
   int ret;
-#ifdef MINGW
-  return GNUNET_SYSERR;
-#endif
 
   if (strstr(argv[0], "tcp_nat") != NULL)
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]