From df55d08fd1316908c1e5ec65ca8b8947ca46d007 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Feb 2017 14:33:04 +0100 Subject: [PATCH] move SET to use new MQ API properly --- src/set/Makefile.am | 2 +- src/set/gnunet-service-set.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/set/Makefile.am b/src/set/Makefile.am index 9d6b0d3c2..10f7ddc5d 100644 --- a/src/set/Makefile.am +++ b/src/set/Makefile.am @@ -58,7 +58,7 @@ gnunet_service_set_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/statistics/libgnunetstatistics.la \ $(top_builddir)/src/core/libgnunetcore.la \ - $(top_builddir)/src/cadet/libgnunetcadet.la \ + $(top_builddir)/src/cadet/libgnunetcadetnew.la \ $(top_builddir)/src/block/libgnunetblock.la \ libgnunetset.la \ $(GN_LIBINTL) diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c index 3f1086891..7ebb30b01 100644 --- a/src/set/gnunet-service-set.c +++ b/src/set/gnunet-service-set.c @@ -1197,7 +1197,7 @@ channel_new_cb (void *cls, incoming->is_incoming = GNUNET_YES; incoming->peer = *source; incoming->channel = channel; - incoming->mq = GNUNET_CADET_mq_create (incoming->channel); + incoming->mq = GNUNET_CADET_get_mq (incoming->channel); incoming->vt = &incoming_vt; incoming->timeout_task = GNUNET_SCHEDULER_add_delayed (INCOMING_CHANNEL_TIMEOUT, @@ -1694,7 +1694,7 @@ handle_client_evaluate (void *cls, &channel_window_cb, &channel_end_cb, cadet_handlers); - op->mq = GNUNET_CADET_mq_create (op->channel); + op->mq = GNUNET_CADET_get_mq (op->channel); set->vt->evaluate (op, context); GNUNET_SERVICE_client_continue (client); -- 2.25.1