aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_network_timeout_no_connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_network_timeout_no_connect.c')
-rw-r--r--src/util/test_network_timeout_no_connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_network_timeout_no_connect.c b/src/util/test_network_timeout_no_connect.c
index 902edd2fa..823216104 100644
--- a/src/util/test_network_timeout_no_connect.c
+++ b/src/util/test_network_timeout_no_connect.c
@@ -51,11 +51,11 @@ handle_timeout (void *cls, size_t size, void *buf)
51static void 51static void
52task_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 52task_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
53{ 53{
54 csock = GNUNET_NETWORK_connection_create_from_connect (tc->sched, 54 csock = GNUNET_CONNECTION_create_from_connect (tc->sched,
55 "localhost", PORT, 1024); 55 "localhost", PORT, 1024);
56 GNUNET_assert (csock != NULL); 56 GNUNET_assert (csock != NULL);
57 GNUNET_assert (NULL != 57 GNUNET_assert (NULL !=
58 GNUNET_NETWORK_connection_notify_transmit_ready (csock, 58 GNUNET_CONNECTION_notify_transmit_ready (csock,
59 1024, 59 1024,
60 GNUNET_TIME_UNIT_SECONDS, 60 GNUNET_TIME_UNIT_SECONDS,
61 &handle_timeout, cls)); 61 &handle_timeout, cls));