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/core/test_core_quota_compliance.c | |
parent | 6a4c5ee6195fb7a6fcf90b1bae5ca36926e82023 (diff) | |
download | gnunet-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_quota_compliance.c')
-rw-r--r-- | src/core/test_core_quota_compliance.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 91ba1d621..0e74fbef5 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c | |||
@@ -325,7 +325,8 @@ transmit_ready (void *cls, size_t size, void *buf) | |||
325 | if ((p1.ch != NULL) && (p1.connect_status == 1)) | 325 | if ((p1.ch != NULL) && (p1.connect_status == 1)) |
326 | GNUNET_break (NULL != | 326 | GNUNET_break (NULL != |
327 | (p1.nth = | 327 | (p1.nth = |
328 | GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, 0, | 328 | GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, |
329 | GNUNET_CORE_PRIO_BEST_EFFORT, | ||
329 | FAST_TIMEOUT, &p2.id, | 330 | FAST_TIMEOUT, &p2.id, |
330 | MESSAGESIZE, | 331 | MESSAGESIZE, |
331 | &transmit_ready, &p1))); | 332 | &transmit_ready, &p1))); |
@@ -392,7 +393,8 @@ connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
392 | 393 | ||
393 | GNUNET_break (NULL != | 394 | GNUNET_break (NULL != |
394 | (p1.nth = | 395 | (p1.nth = |
395 | GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, 0, | 396 | GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, |
397 | GNUNET_CORE_PRIO_BEST_EFFORT, | ||
396 | TIMEOUT, &p2.id, | 398 | TIMEOUT, &p2.id, |
397 | MESSAGESIZE, | 399 | MESSAGESIZE, |
398 | &transmit_ready, &p1))); | 400 | &transmit_ready, &p1))); |
@@ -488,7 +490,8 @@ process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
488 | 490 | ||
489 | if (running == GNUNET_YES) | 491 | if (running == GNUNET_YES) |
490 | GNUNET_break (NULL != | 492 | GNUNET_break (NULL != |
491 | GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, 0, | 493 | GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_NO, |
494 | GNUNET_CORE_PRIO_BEST_EFFORT, | ||
492 | FAST_TIMEOUT, &p2.id, | 495 | FAST_TIMEOUT, &p2.id, |
493 | MESSAGESIZE, | 496 | MESSAGESIZE, |
494 | &transmit_ready, &p1)); | 497 | &transmit_ready, &p1)); |