gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16469 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r16469 - gnunet/src/util
Date: Fri, 12 Aug 2011 13:11:45 +0200

Author: grothoff
Date: 2011-08-12 13:11:45 +0200 (Fri, 12 Aug 2011)
New Revision: 16469

Modified:
   gnunet/src/util/client.c
Log:
LRN: disable bind test on W32

Modified: gnunet/src/util/client.c
===================================================================
--- gnunet/src/util/client.c    2011-08-12 11:09:57 UTC (rev 16468)
+++ gnunet/src/util/client.c    2011-08-12 11:11:45 UTC (rev 16469)
@@ -815,7 +815,11 @@
       return;
     }
   
-  if (0 == strcmp ("localhost", hostname)) 
+  if (0 == strcmp ("localhost", hostname)
+#if WINDOWS
+      && 0
+#endif
+  )
     {
       /* can test using 'bind' */
       struct sockaddr_in s_in;
@@ -847,7 +851,11 @@
        }        
     }
 
-  if (0 == strcmp ("ip6-localhost", hostname)) 
+  if (0 == strcmp ("ip6-localhost", hostname)
+#if WINDOWS
+      && 0
+#endif
+  )
     {
       /* can test using 'bind' */
       struct sockaddr_in6 s_in6;
@@ -879,8 +887,12 @@
        }        
     }
 
-  if ( (0 == strcmp ("localhost", hostname)) ||
-       (0 == strcmp ("ip6-localhost", hostname)) )
+  if (( (0 == strcmp ("localhost", hostname)) ||
+       (0 == strcmp ("ip6-localhost", hostname)))
+#if WINDOWS
+      && 0
+#endif
+  )
     {
       /* all binds succeeded => claim service not running right now */
       GNUNET_free_non_null (hostname);




reply via email to

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