From: Matthias Wachs Date: Fri, 30 Sep 2011 13:25:15 +0000 (+0000) Subject: beautification X-Git-Tag: initial-import-from-subversion-38251~16850 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07c1b760e47c04a5c6f9a22688b37a4063a22453;p=oweals%2Fgnunet.git beautification --- diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index 7f8c9ad0f..d53ac0d22 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c @@ -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; diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index 30862424c..630011522 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c @@ -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) diff --git a/src/transport/test_transport_api_unreliability_constant.c b/src/transport/test_transport_api_unreliability_constant.c index 64fe4be37..4bbacca5e 100644 --- a/src/transport/test_transport_api_unreliability_constant.c +++ b/src/transport/test_transport_api_unreliability_constant.c @@ -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)