beautification
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 30 Sep 2011 13:25:15 +0000 (13:25 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 30 Sep 2011 13:25:15 +0000 (13:25 +0000)
src/transport/test_transport_api_reliability.c
src/transport/test_transport_api_unreliability.c
src/transport/test_transport_api_unreliability_constant.c

index 7f8c9ad0f810ee69682349b2f934fa54b990f20b..d53ac0d221e2eb90816e64d2e3a9303ac6b86afb 100644 (file)
@@ -38,7 +38,7 @@
 #include "transport.h"
 #include "transport-testing.h"
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_YES
 
 #define VERBOSE_ARM GNUNET_NO
 
@@ -248,6 +248,7 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
   if (n == TOTAL_MSGS)
   {
     ok = 0;
+    fprintf (stderr, "\n");
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "All messages received\n");
     end ();
   }
@@ -319,6 +320,7 @@ notify_ready (void *cls, size_t size, void *buf)
   total_bytes += ret;
   if (n == TOTAL_MSGS)
   {
+    fprintf (stderr, "\n");
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "All messages sent\n");
   }
   return ret;
index 30862424cfdece5c68e03c51505481b1ec9c6ffa..630011522b843946ff7b0cb161df2563f6abf928 100644 (file)
@@ -312,7 +312,10 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
     die_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL);
   }
   if (n == TOTAL_MSGS)
+  {
+    fprintf (stderr, "\n");
     end ();
+  }
 }
 
 
@@ -376,6 +379,7 @@ notify_ready (void *cls, size_t size, void *buf)
   }
   else
   {
+    fprintf (stderr, "\n");
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                 "All messages scheduled to be sent!!\n");
     if (GNUNET_SCHEDULER_NO_TASK != die_task)
index 64fe4be379d2aa9f9dfb86093e49ce5557dca4a9..4bbacca5e49a423c7cafeefe94bea7755bceec4e 100644 (file)
@@ -273,6 +273,7 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
   {
     /* because of starting with 0 */
     msg_recv++;
+    fprintf (stderr, "\n");
     end ();
   }
 }
@@ -337,6 +338,7 @@ notify_ready (void *cls, size_t size, void *buf)
   }
   else
   {
+    fprintf (stderr, "\n");
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                 "All messages scheduled to be sent!!\n");
     if (GNUNET_SCHEDULER_NO_TASK != die_task)