diff options
Diffstat (limited to 'src/util/test_network_transmit_cancel.c')
-rw-r--r-- | src/util/test_network_transmit_cancel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/test_network_transmit_cancel.c b/src/util/test_network_transmit_cancel.c index c46fecd22..edc45bb9f 100644 --- a/src/util/test_network_transmit_cancel.c +++ b/src/util/test_network_transmit_cancel.c | |||
@@ -48,15 +48,15 @@ task_transmit_cancel (void *cls, | |||
48 | struct GNUNET_NETWORK_TransmitHandle *th; | 48 | struct GNUNET_NETWORK_TransmitHandle *th; |
49 | struct GNUNET_NETWORK_ConnectionHandle *csock; | 49 | struct GNUNET_NETWORK_ConnectionHandle *csock; |
50 | 50 | ||
51 | csock = GNUNET_NETWORK_connection_create_from_connect (tc->sched, | 51 | csock = GNUNET_CONNECTION_create_from_connect (tc->sched, |
52 | "localhost", PORT, 1024); | 52 | "localhost", PORT, 1024); |
53 | GNUNET_assert (csock != NULL); | 53 | GNUNET_assert (csock != NULL); |
54 | th = GNUNET_NETWORK_connection_notify_transmit_ready (csock, | 54 | th = GNUNET_CONNECTION_notify_transmit_ready (csock, |
55 | 12, | 55 | 12, |
56 | GNUNET_TIME_UNIT_MINUTES, | 56 | GNUNET_TIME_UNIT_MINUTES, |
57 | ¬_run, cls); | 57 | ¬_run, cls); |
58 | GNUNET_NETWORK_connection_notify_transmit_ready_cancel (th); | 58 | GNUNET_CONNECTION_notify_transmit_ready_cancel (th); |
59 | GNUNET_NETWORK_connection_destroy (csock); | 59 | GNUNET_CONNECTION_destroy (csock); |
60 | *ok = 0; | 60 | *ok = 0; |
61 | } | 61 | } |
62 | 62 | ||