X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fcadet%2Fcadet_test_lib.c;h=1df6bff0dfdee7655318d3ed36e68c6a6f203653;hb=c831b76d24e75c692ab6141f327d1a91d391f93b;hp=c3a1540f422d42b432c7b2caea686d43cb8b2cce;hpb=3b76938ba264c296d14f6912f22f3116e5893eb4;p=oweals%2Fgnunet.git diff --git a/src/cadet/cadet_test_lib.c b/src/cadet/cadet_test_lib.c index c3a1540f4..1df6bff0d 100644 --- a/src/cadet/cadet_test_lib.c +++ b/src/cadet/cadet_test_lib.c @@ -24,7 +24,7 @@ */ #include "platform.h" #include "gnunet_util_lib.h" -#include "cadet_test_lib_new.h" +#include "cadet_test_lib.h" #include "gnunet_cadet_service.h" @@ -137,14 +137,14 @@ cadet_connect_adapter (void *cls, struct GNUNET_CADET_Handle *h; unsigned int i; - h = GNUNET_CADET_connecT (cfg); + h = GNUNET_CADET_connect (cfg); if (NULL == ctx->ports) return h; actx->ports = GNUNET_new_array (ctx->port_count, struct GNUNET_CADET_Port *); for (i = 0; i < ctx->port_count; i++) { - actx->ports[i] = GNUNET_CADET_open_porT (h, + actx->ports[i] = GNUNET_CADET_open_port (h, ctx->ports[i], ctx->connects, (void *) (long) actx->peer,