From: Nils Durner Date: Sat, 21 Nov 2009 21:59:27 +0000 (+0000) Subject: MinGW X-Git-Tag: initial-import-from-subversion-38251~23038 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4c1351f39311bb7aa17f4e2c928bf113e1682694;p=oweals%2Fgnunet.git MinGW --- diff --git a/src/util/test_service.c b/src/util/test_service.c index 1d42f3407..9173b1f10 100644 --- a/src/util/test_service.c +++ b/src/util/test_service.c @@ -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) ||