diff options
author | Nils Durner <durner@gnunet.org> | 2009-11-21 21:59:27 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2009-11-21 21:59:27 +0000 |
commit | 4c1351f39311bb7aa17f4e2c928bf113e1682694 (patch) | |
tree | fe4f636b095d247ae4bc027c4897b0549bc72843 /src/util/test_service.c | |
parent | a364959edda23a3bafe87ae9205d80de0b21f68b (diff) | |
download | gnunet-4c1351f39311bb7aa17f4e2c928bf113e1682694.tar.gz gnunet-4c1351f39311bb7aa17f4e2c928bf113e1682694.zip |
MinGW
Diffstat (limited to 'src/util/test_service.c')
-rw-r--r-- | src/util/test_service.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 @@ | |||
31 | #include "gnunet_time_lib.h" | 31 | #include "gnunet_time_lib.h" |
32 | 32 | ||
33 | 33 | ||
34 | #define VERBOSE GNUNET_NO | 34 | #define VERBOSE GNUNET_YES |
35 | 35 | ||
36 | #define PORT 12435 | 36 | #define PORT 12435 |
37 | 37 | ||
@@ -305,7 +305,7 @@ int | |||
305 | main (int argc, char *argv[]) | 305 | main (int argc, char *argv[]) |
306 | { | 306 | { |
307 | int ret = 0; | 307 | int ret = 0; |
308 | struct GNUNET_NETWORK_Handle *s; | 308 | struct GNUNET_NETWORK_Handle *s = NULL; |
309 | 309 | ||
310 | GNUNET_log_setup ("test-service", | 310 | GNUNET_log_setup ("test-service", |
311 | #if VERBOSE | 311 | #if VERBOSE |
@@ -316,7 +316,11 @@ main (int argc, char *argv[]) | |||
316 | NULL); | 316 | NULL); |
317 | ret += check (); | 317 | ret += check (); |
318 | ret += check (); | 318 | ret += check (); |
319 | |||
320 | // FIXME | ||
321 | #ifndef MINGW | ||
319 | s = GNUNET_NETWORK_socket_create (PF_INET6, SOCK_STREAM, 0); | 322 | s = GNUNET_NETWORK_socket_create (PF_INET6, SOCK_STREAM, 0); |
323 | #endif | ||
320 | if (NULL == s) | 324 | if (NULL == s) |
321 | { | 325 | { |
322 | if ((errno == ENOBUFS) || | 326 | if ((errno == ENOBUFS) || |