diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-17 20:47:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-17 20:47:30 +0000 |
commit | 32219472d9ad7f60a82b3c68cd61115bfc1e3ad7 (patch) | |
tree | c15ed769ac06cb44cf7520d8b83c80117dadfdce /src/util/test_connection_timeout.c | |
parent | 3c913c6ad5bb2461a01b3745b0350df7d4ac9a78 (diff) | |
download | gnunet-32219472d9ad7f60a82b3c68cd61115bfc1e3ad7.tar.gz gnunet-32219472d9ad7f60a82b3c68cd61115bfc1e3ad7.zip |
making flags, set non-blocking and set-inheritable internal issues of network.c
Diffstat (limited to 'src/util/test_connection_timeout.c')
-rw-r--r-- | src/util/test_connection_timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_connection_timeout.c b/src/util/test_connection_timeout.c index 73433e434..5968f797f 100644 --- a/src/util/test_connection_timeout.c +++ b/src/util/test_connection_timeout.c | |||
@@ -57,7 +57,7 @@ open_listen_socket () | |||
57 | sa.sin_len = sizeof (sa); | 57 | sa.sin_len = sizeof (sa); |
58 | #endif | 58 | #endif |
59 | sa.sin_port = htons (PORT); | 59 | sa.sin_port = htons (PORT); |
60 | desc = GNUNET_NETWORK_socket_socket (AF_INET, SOCK_STREAM, 0); | 60 | desc = GNUNET_NETWORK_socket_create (AF_INET, SOCK_STREAM, 0); |
61 | GNUNET_assert (desc != NULL); | 61 | GNUNET_assert (desc != NULL); |
62 | if (GNUNET_NETWORK_socket_setsockopt (desc, SOL_SOCKET, SO_REUSEADDR, &on, sizeof (on)) != GNUNET_OK) | 62 | if (GNUNET_NETWORK_socket_setsockopt (desc, SOL_SOCKET, SO_REUSEADDR, &on, sizeof (on)) != GNUNET_OK) |
63 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | 63 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, |