- assert order
authorBart Polot <bart@net.in.tum.de>
Wed, 9 Apr 2014 11:48:15 +0000 (11:48 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 9 Apr 2014 11:48:15 +0000 (11:48 +0000)
src/mesh/test_mesh_small.c

index f75123d3cdd8fe9948da723d1b675b79f9b3cbb2..aec95aacb8c840180c832f1e2fd580f267c5b65f 100644 (file)
@@ -353,11 +353,11 @@ tmt_rdy (void *cls, size_t size, void *buf)
               "tmt_rdy called, filling buffer\n");
   if (size < size_payload || NULL == buf)
   {
-    GNUNET_break (ok >= ok_goal - 2);
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                 "size %u, buf %p, data_sent %u, data_received %u\n",
                 size, buf, data_sent, data_received);
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ok %u, ok goal %u\n", ok, ok_goal);
+    GNUNET_break (ok >= ok_goal - 2);
 
     return 0;
   }