diff options
author | Nils Durner <durner@gnunet.org> | 2009-11-19 20:42:52 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2009-11-19 20:42:52 +0000 |
commit | 3707a0f7ac3205b6ba73c02f275f2c2f84bbcedc (patch) | |
tree | 650403ce883c5f499d1f424415d893040e4c06bd /src/util/test_connection_receive_cancel.c | |
parent | cd09aed6f9c8663148957c682e04fe3a3bdaf4c7 (diff) | |
download | gnunet-3707a0f7ac3205b6ba73c02f275f2c2f84bbcedc.tar.gz gnunet-3707a0f7ac3205b6ba73c02f275f2c2f84bbcedc.zip |
fix MinGW
Diffstat (limited to 'src/util/test_connection_receive_cancel.c')
-rw-r--r-- | src/util/test_connection_receive_cancel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/test_connection_receive_cancel.c b/src/util/test_connection_receive_cancel.c index b90191384..9b00bbdf7 100644 --- a/src/util/test_connection_receive_cancel.c +++ b/src/util/test_connection_receive_cancel.c | |||
@@ -59,6 +59,7 @@ open_listen_socket () | |||
59 | #if HAVE_SOCKADDR_IN_SIN_LEN | 59 | #if HAVE_SOCKADDR_IN_SIN_LEN |
60 | sa.sin_len = sizeof (sa); | 60 | sa.sin_len = sizeof (sa); |
61 | #endif | 61 | #endif |
62 | sa.sin_family = AF_INET; | ||
62 | sa.sin_port = htons (PORT); | 63 | sa.sin_port = htons (PORT); |
63 | desc = GNUNET_NETWORK_socket_create (AF_INET, SOCK_STREAM, 0); | 64 | desc = GNUNET_NETWORK_socket_create (AF_INET, SOCK_STREAM, 0); |
64 | GNUNET_assert (desc != NULL); | 65 | GNUNET_assert (desc != NULL); |