aboutsummaryrefslogtreecommitdiff
path: root/src/nse/gnunet-service-nse.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-01-30 18:24:13 +0000
committerChristian Grothoff <christian@grothoff.org>2014-01-30 18:24:13 +0000
commit6fd0a7efde08115b568b99b7755861a50f1b6c2e (patch)
treed8d712f0a5cafe18ddf8ff33296ff24b30beae7f /src/nse/gnunet-service-nse.c
parent6a4c5ee6195fb7a6fcf90b1bae5ca36926e82023 (diff)
downloadgnunet-6fd0a7efde08115b568b99b7755861a50f1b6c2e.tar.gz
gnunet-6fd0a7efde08115b568b99b7755861a50f1b6c2e.zip
towards reviving priorities in core API, this time with enum to make classes clearer
Diffstat (limited to 'src/nse/gnunet-service-nse.c')
-rw-r--r--src/nse/gnunet-service-nse.c5
1 files changed, 3 insertions, 2 deletions
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 @@
70/** 70/**
71 * Message priority to use. 71 * Message priority to use.
72 */ 72 */
73#define NSE_PRIORITY 5 73#define NSE_PRIORITY GNUNET_CORE_PRIO_CRITICAL_CONTROL
74 74
75#if FREEBSD 75#if FREEBSD
76#define log2(a) (log(a)/log(2)) 76#define log2(a) (log(a)/log(2))
@@ -660,7 +660,8 @@ transmit_task_cb (void *cls,
660 660
661 GNUNET_assert (NULL == peer_entry->th); 661 GNUNET_assert (NULL == peer_entry->th);
662 peer_entry->th = 662 peer_entry->th =
663 GNUNET_CORE_notify_transmit_ready (core_api, GNUNET_NO, NSE_PRIORITY, 663 GNUNET_CORE_notify_transmit_ready (core_api, GNUNET_NO,
664 NSE_PRIORITY,
664 GNUNET_TIME_UNIT_FOREVER_REL, 665 GNUNET_TIME_UNIT_FOREVER_REL,
665 &peer_entry->id, 666 &peer_entry->id,
666 sizeof (struct 667 sizeof (struct