aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_connection_timeout.c
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2009-11-19 20:42:52 +0000
committerNils Durner <durner@gnunet.org>2009-11-19 20:42:52 +0000
commit3707a0f7ac3205b6ba73c02f275f2c2f84bbcedc (patch)
tree650403ce883c5f499d1f424415d893040e4c06bd /src/util/test_connection_timeout.c
parentcd09aed6f9c8663148957c682e04fe3a3bdaf4c7 (diff)
downloadgnunet-3707a0f7ac3205b6ba73c02f275f2c2f84bbcedc.tar.gz
gnunet-3707a0f7ac3205b6ba73c02f275f2c2f84bbcedc.zip
fix MinGW
Diffstat (limited to 'src/util/test_connection_timeout.c')
-rw-r--r--src/util/test_connection_timeout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/test_connection_timeout.c b/src/util/test_connection_timeout.c
index 0590d36d5..44609fffe 100644
--- a/src/util/test_connection_timeout.c
+++ b/src/util/test_connection_timeout.c
@@ -56,6 +56,7 @@ open_listen_socket ()
56#if HAVE_SOCKADDR_IN_SIN_LEN 56#if HAVE_SOCKADDR_IN_SIN_LEN
57 sa.sin_len = sizeof (sa); 57 sa.sin_len = sizeof (sa);
58#endif 58#endif
59 sa.sin_family = AF_INET;
59 sa.sin_port = htons (PORT); 60 sa.sin_port = htons (PORT);
60 desc = GNUNET_NETWORK_socket_create (AF_INET, SOCK_STREAM, 0); 61 desc = GNUNET_NETWORK_socket_create (AF_INET, SOCK_STREAM, 0);
61 GNUNET_assert (desc != NULL); 62 GNUNET_assert (desc != NULL);