aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.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/core/test_core_api_reliability.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/core/test_core_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index 97006fe95..cb05fa9e5 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -189,7 +189,8 @@ transmit_ready (void *cls, size_t size, void *buf)
189 { 189 {
190 if (p1.ch != NULL) 190 if (p1.ch != NULL)
191 GNUNET_break (NULL != 191 GNUNET_break (NULL !=
192 GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, 0, 192 GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO,
193 GNUNET_CORE_PRIO_BEST_EFFORT,
193 FAST_TIMEOUT, &p2.id, 194 FAST_TIMEOUT, &p2.id,
194 get_size (tr_n), 195 get_size (tr_n),
195 &transmit_ready, &p1)); 196 &transmit_ready, &p1));
@@ -250,7 +251,8 @@ connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
250 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &terminate_task_error, NULL); 251 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &terminate_task_error, NULL);
251 start_time = GNUNET_TIME_absolute_get (); 252 start_time = GNUNET_TIME_absolute_get ();
252 GNUNET_break (NULL != 253 GNUNET_break (NULL !=
253 GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, 0, 254 GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO,
255 GNUNET_CORE_PRIO_BEST_EFFORT,
254 TIMEOUT, &p2.id, 256 TIMEOUT, &p2.id,
255 get_size (0), 257 get_size (0),
256 &transmit_ready, &p1)); 258 &transmit_ready, &p1));
@@ -340,7 +342,8 @@ process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer,
340 { 342 {
341 if (n == tr_n) 343 if (n == tr_n)
342 GNUNET_break (NULL != 344 GNUNET_break (NULL !=
343 GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, 0, 345 GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO,
346 GNUNET_CORE_PRIO_BEST_EFFORT,
344 FAST_TIMEOUT, &p2.id, 347 FAST_TIMEOUT, &p2.id,
345 get_size (tr_n), 348 get_size (tr_n),
346 &transmit_ready, &p1)); 349 &transmit_ready, &p1));