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/nse/gnunet-service-nse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nse/gnunet-service-nse.c') diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 3cda2b114..7ad08a917 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c @@ -70,7 +70,7 @@ /** * Message priority to use. */ -#define NSE_PRIORITY 5 +#define NSE_PRIORITY GNUNET_CORE_PRIO_CRITICAL_CONTROL #if FREEBSD #define log2(a) (log(a)/log(2)) @@ -660,7 +660,8 @@ transmit_task_cb (void *cls, GNUNET_assert (NULL == peer_entry->th); peer_entry->th = - GNUNET_CORE_notify_transmit_ready (core_api, GNUNET_NO, NSE_PRIORITY, + GNUNET_CORE_notify_transmit_ready (core_api, GNUNET_NO, + NSE_PRIORITY, GNUNET_TIME_UNIT_FOREVER_REL, &peer_entry->id, sizeof (struct -- cgit v1.2.3