- avoid warning on successful shutdowns
authorBart Polot <bart@net.in.tum.de>
Thu, 5 Dec 2013 00:53:28 +0000 (00:53 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 5 Dec 2013 00:53:28 +0000 (00:53 +0000)
src/mesh/test_mesh_small.c

index b3bf8d9fecc28251e4be15b48770924b7e8b34c8..49e394f030254aadc6df4bef52384033045d6ef2 100644 (file)
@@ -354,7 +354,7 @@ tmt_rdy (void *cls, size_t size, void *buf)
               "tmt_rdy called, filling buffer\n");
   if (size < size_payload || NULL == buf)
   {
-    GNUNET_break (0);
+    GNUNET_break (ok >= ok_goal - 2);
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "size %u, buf %p, data_sent %u, data_received %u\n",
                 size,