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.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.c')
-rw-r--r-- | src/util/test_connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_connection.c b/src/util/test_connection.c index 549b3b840..30eee76ce 100644 --- a/src/util/test_connection.c +++ b/src/util/test_connection.c | |||
@@ -62,7 +62,7 @@ open_listen_socket () | |||
62 | #endif | 62 | #endif |
63 | sa.sin_port = htons (PORT); | 63 | sa.sin_port = htons (PORT); |
64 | sa.sin_family = AF_INET; | 64 | sa.sin_family = AF_INET; |
65 | desc = GNUNET_NETWORK_socket_socket (AF_INET, SOCK_STREAM, 0); | 65 | desc = GNUNET_NETWORK_socket_create (AF_INET, SOCK_STREAM, 0); |
66 | GNUNET_assert (desc != NULL); | 66 | GNUNET_assert (desc != NULL); |
67 | if (GNUNET_NETWORK_socket_setsockopt (desc, SOL_SOCKET, SO_REUSEADDR, &on, sizeof (on)) != GNUNET_OK) | 67 | if (GNUNET_NETWORK_socket_setsockopt (desc, SOL_SOCKET, SO_REUSEADDR, &on, sizeof (on)) != GNUNET_OK) |
68 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | 68 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, |