MinGW
authorNils Durner <durner@gnunet.org>
Sat, 21 Nov 2009 21:59:27 +0000 (21:59 +0000)
committerNils Durner <durner@gnunet.org>
Sat, 21 Nov 2009 21:59:27 +0000 (21:59 +0000)
src/util/test_service.c

index 1d42f340762e2ae333b716bf190cb3c7fa40f1fd..9173b1f10bbdffe545de40c77b3a67ea65e86450 100644 (file)
@@ -31,7 +31,7 @@
 #include "gnunet_time_lib.h"
 
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_YES
 
 #define PORT 12435
 
@@ -305,7 +305,7 @@ int
 main (int argc, char *argv[])
 {
   int ret = 0;
-  struct GNUNET_NETWORK_Handle *s;
+  struct GNUNET_NETWORK_Handle *s = NULL;
 
   GNUNET_log_setup ("test-service",
 #if VERBOSE
@@ -316,7 +316,11 @@ main (int argc, char *argv[])
                     NULL);
   ret += check ();
   ret += check ();
+
+  // FIXME
+#ifndef MINGW
   s = GNUNET_NETWORK_socket_create (PF_INET6, SOCK_STREAM, 0);
+#endif
   if (NULL == s)
     {
       if ((errno == ENOBUFS) ||