diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-11 12:57:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-11 12:57:57 +0000 |
commit | d984e2895f96f67fe2c44f27cdacfbb404485ada (patch) | |
tree | a9a355b13cc8d57096ff2de763d9cfd311a742b6 /src/core/test_core_api_reliability.c | |
parent | 914ec7ef9e59b69868b92fced96d6693b2097e13 (diff) | |
download | gnunet-d984e2895f96f67fe2c44f27cdacfbb404485ada.tar.gz gnunet-d984e2895f96f67fe2c44f27cdacfbb404485ada.zip |
implement cork option, fix testcases
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r-- | src/core/test_core_api_reliability.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c index b7f2a8139..f21691691 100644 --- a/src/core/test_core_api_reliability.c +++ b/src/core/test_core_api_reliability.c | |||
@@ -167,6 +167,7 @@ transmit_ready (void *cls, size_t size, void *buf) | |||
167 | if (p1.ch != NULL) | 167 | if (p1.ch != NULL) |
168 | GNUNET_break (NULL != | 168 | GNUNET_break (NULL != |
169 | GNUNET_CORE_notify_transmit_ready (p1.ch, | 169 | GNUNET_CORE_notify_transmit_ready (p1.ch, |
170 | GNUNET_NO, | ||
170 | 0, | 171 | 0, |
171 | FAST_TIMEOUT, | 172 | FAST_TIMEOUT, |
172 | &p2.id, | 173 | &p2.id, |
@@ -244,6 +245,7 @@ connect_notify (void *cls, | |||
244 | start_time = GNUNET_TIME_absolute_get (); | 245 | start_time = GNUNET_TIME_absolute_get (); |
245 | GNUNET_break (NULL != | 246 | GNUNET_break (NULL != |
246 | GNUNET_CORE_notify_transmit_ready (p1.ch, | 247 | GNUNET_CORE_notify_transmit_ready (p1.ch, |
248 | GNUNET_NO, | ||
247 | 0, | 249 | 0, |
248 | TIMEOUT, | 250 | TIMEOUT, |
249 | &p2.id, | 251 | &p2.id, |
@@ -356,6 +358,7 @@ process_mtype (void *cls, | |||
356 | if (n == tr_n) | 358 | if (n == tr_n) |
357 | GNUNET_break (NULL != | 359 | GNUNET_break (NULL != |
358 | GNUNET_CORE_notify_transmit_ready (p1.ch, | 360 | GNUNET_CORE_notify_transmit_ready (p1.ch, |
361 | GNUNET_NO, | ||
359 | 0, | 362 | 0, |
360 | FAST_TIMEOUT, | 363 | FAST_TIMEOUT, |
361 | &p2.id, | 364 | &p2.id, |