aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet_test_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/cadet_test_lib.c')
-rw-r--r--src/cadet/cadet_test_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/cadet_test_lib.c b/src/cadet/cadet_test_lib.c
index b2131d49f..1df6bff0d 100644
--- a/src/cadet/cadet_test_lib.c
+++ b/src/cadet/cadet_test_lib.c
@@ -137,14 +137,14 @@ cadet_connect_adapter (void *cls,
137 struct GNUNET_CADET_Handle *h; 137 struct GNUNET_CADET_Handle *h;
138 unsigned int i; 138 unsigned int i;
139 139
140 h = GNUNET_CADET_connecT (cfg); 140 h = GNUNET_CADET_connect (cfg);
141 if (NULL == ctx->ports) 141 if (NULL == ctx->ports)
142 return h; 142 return h;
143 143
144 actx->ports = GNUNET_new_array (ctx->port_count, struct GNUNET_CADET_Port *); 144 actx->ports = GNUNET_new_array (ctx->port_count, struct GNUNET_CADET_Port *);
145 for (i = 0; i < ctx->port_count; i++) 145 for (i = 0; i < ctx->port_count; i++)
146 { 146 {
147 actx->ports[i] = GNUNET_CADET_open_porT (h, 147 actx->ports[i] = GNUNET_CADET_open_port (h,
148 ctx->ports[i], 148 ctx->ports[i],
149 ctx->connects, 149 ctx->connects,
150 (void *) (long) actx->peer, 150 (void *) (long) actx->peer,