From 4943a30798ddf195d8e8c62c1daf060ca84d21c4 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 18 Nov 2010 13:32:04 +0000 Subject: [PATCH] --- src/core/test_core_quota_compliance.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 65f28bb72..f6403532c 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c @@ -486,14 +486,9 @@ process_mtype (void *cls, n++; if (0 == (n % 10)) fprintf (stderr, "."); - if (n == TOTAL_MSGS) - { - GNUNET_SCHEDULER_cancel (err_task); - GNUNET_SCHEDULER_add_now (&terminate_task, NULL); - } - else - { - if (running == GNUNET_YES) + + + if (running == GNUNET_YES) GNUNET_break (NULL != GNUNET_CORE_notify_transmit_ready (p1.ch, 0, @@ -501,7 +496,6 @@ process_mtype (void *cls, &p2.id, MESSAGESIZE, &transmit_ready, &p1)); - } return GNUNET_OK; } -- 2.25.1