From d984e2895f96f67fe2c44f27cdacfbb404485ada Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 11 Mar 2011 12:57:57 +0000 Subject: implement cork option, fix testcases --- src/core/test_core_quota_compliance.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/core/test_core_quota_compliance.c') diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 6a67b8606..d3b49d880 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c @@ -319,6 +319,7 @@ transmit_ready (void *cls, size_t size, void *buf) (p1.connect_status == 1) ) GNUNET_break (NULL != GNUNET_CORE_notify_transmit_ready (p1.ch, + GNUNET_NO, 0, FAST_TIMEOUT, &p2.id, @@ -395,11 +396,12 @@ connect_notify (void *cls, measure_task = GNUNET_SCHEDULER_add_delayed(MEASUREMENT_LENGTH, &measurement_stop, NULL); GNUNET_break (NULL != GNUNET_CORE_notify_transmit_ready (p1.ch, - 0, - TIMEOUT, - &p2.id, - MESSAGESIZE, - &transmit_ready, &p1)); + GNUNET_NO, + 0, + TIMEOUT, + &p2.id, + MESSAGESIZE, + &transmit_ready, &p1)); } } @@ -503,6 +505,7 @@ process_mtype (void *cls, if (running == GNUNET_YES) GNUNET_break (NULL != GNUNET_CORE_notify_transmit_ready (p1.ch, + GNUNET_NO, 0, FAST_TIMEOUT, &p2.id, -- cgit v1.2.3