From 6fd0a7efde08115b568b99b7755861a50f1b6c2e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 30 Jan 2014 18:24:13 +0000 Subject: towards reviving priorities in core API, this time with enum to make classes clearer --- src/experimentation/gnunet-daemon-experimentation_nodes.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/experimentation') diff --git a/src/experimentation/gnunet-daemon-experimentation_nodes.c b/src/experimentation/gnunet-daemon-experimentation_nodes.c index 65b2d9c38..1c4152793 100644 --- a/src/experimentation/gnunet-daemon-experimentation_nodes.c +++ b/src/experimentation/gnunet-daemon-experimentation_nodes.c @@ -210,7 +210,9 @@ schedule_transmisson (struct NodeComCtx *e_ctx) if (NULL != e_ctx->n->cth) return; - e_ctx->n->cth = GNUNET_CORE_notify_transmit_ready (ch, GNUNET_NO, 0, FAST_TIMEOUT, + e_ctx->n->cth = GNUNET_CORE_notify_transmit_ready (ch, GNUNET_NO, + GNUNET_CORE_PRIO_BEST_EFFORT, + FAST_TIMEOUT, &e_ctx->n->id, e_ctx->size, transmit_read_wrapper, e_ctx); if (NULL == e_ctx->n->cth) @@ -281,7 +283,7 @@ send_experimentation_request_cb (void *cls, size_t bufsize, void *buf) size_t ri_size = sizeof (struct GNUNET_CRYPTO_EddsaPublicKey) * my_issuer_count; size_t total_size = msg_size + ri_size; struct GNUNET_CRYPTO_EddsaPublicKey *issuers; - + n->cth = NULL; if (NULL == buf) { -- cgit v1.2.3