From: Christian Grothoff Date: Fri, 17 Feb 2017 13:33:04 +0000 (+0100) Subject: move SET to use new MQ API properly X-Git-Tag: taler-0.2.1~157 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=df55d08fd1316908c1e5ec65ca8b8947ca46d007;p=oweals%2Fgnunet.git move SET to use new MQ API properly --- 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);