(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 18 Nov 2010 13:32:04 +0000 (13:32 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 18 Nov 2010 13:32:04 +0000 (13:32 +0000)
src/core/test_core_quota_compliance.c

index 65f28bb72bc67ded55db2270b5a460c46cc0e5bd..f6403532cc18703e46dd30740e187d500116b853 100644 (file)
@@ -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;
 }