From: Matthias Wachs Date: Thu, 18 Nov 2010 13:32:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~19686 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4943a30798ddf195d8e8c62c1daf060ca84d21c4;p=oweals%2Fgnunet.git --- 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; }