diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-01-30 18:24:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-01-30 18:24:13 +0000 |
commit | 6fd0a7efde08115b568b99b7755861a50f1b6c2e (patch) | |
tree | d8d712f0a5cafe18ddf8ff33296ff24b30beae7f /src/nse | |
parent | 6a4c5ee6195fb7a6fcf90b1bae5ca36926e82023 (diff) |
towards reviving priorities in core API, this time with enum to make classes clearer
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 3cda2b114c..7ad08a9178 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 |