diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-30 13:25:15 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-30 13:25:15 +0000 |
commit | 07c1b760e47c04a5c6f9a22688b37a4063a22453 (patch) | |
tree | d6b823ca95fa77d2f23a970c47127ca5a13a60ab /src/transport | |
parent | 2627caf2e563599f3cbc980eafe1e4d68fb32c2f (diff) | |
download | gnunet-07c1b760e47c04a5c6f9a22688b37a4063a22453.tar.gz gnunet-07c1b760e47c04a5c6f9a22688b37a4063a22453.zip |
beautification
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 4 | ||||
-rw-r--r-- | src/transport/test_transport_api_unreliability.c | 4 | ||||
-rw-r--r-- | src/transport/test_transport_api_unreliability_constant.c | 2 |
3 files changed, 9 insertions, 1 deletions
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 @@ | |||
38 | #include "transport.h" | 38 | #include "transport.h" |
39 | #include "transport-testing.h" | 39 | #include "transport-testing.h" |
40 | 40 | ||
41 | #define VERBOSE GNUNET_NO | 41 | #define VERBOSE GNUNET_YES |
42 | 42 | ||
43 | #define VERBOSE_ARM GNUNET_NO | 43 | #define VERBOSE_ARM GNUNET_NO |
44 | 44 | ||
@@ -248,6 +248,7 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
248 | if (n == TOTAL_MSGS) | 248 | if (n == TOTAL_MSGS) |
249 | { | 249 | { |
250 | ok = 0; | 250 | ok = 0; |
251 | fprintf (stderr, "\n"); | ||
251 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "All messages received\n"); | 252 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "All messages received\n"); |
252 | end (); | 253 | end (); |
253 | } | 254 | } |
@@ -319,6 +320,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
319 | total_bytes += ret; | 320 | total_bytes += ret; |
320 | if (n == TOTAL_MSGS) | 321 | if (n == TOTAL_MSGS) |
321 | { | 322 | { |
323 | fprintf (stderr, "\n"); | ||
322 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "All messages sent\n"); | 324 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "All messages sent\n"); |
323 | } | 325 | } |
324 | return ret; | 326 | 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, | |||
312 | die_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL); | 312 | die_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL); |
313 | } | 313 | } |
314 | if (n == TOTAL_MSGS) | 314 | if (n == TOTAL_MSGS) |
315 | { | ||
316 | fprintf (stderr, "\n"); | ||
315 | end (); | 317 | end (); |
318 | } | ||
316 | } | 319 | } |
317 | 320 | ||
318 | 321 | ||
@@ -376,6 +379,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
376 | } | 379 | } |
377 | else | 380 | else |
378 | { | 381 | { |
382 | fprintf (stderr, "\n"); | ||
379 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 383 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
380 | "All messages scheduled to be sent!!\n"); | 384 | "All messages scheduled to be sent!!\n"); |
381 | if (GNUNET_SCHEDULER_NO_TASK != die_task) | 385 | 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, | |||
273 | { | 273 | { |
274 | /* because of starting with 0 */ | 274 | /* because of starting with 0 */ |
275 | msg_recv++; | 275 | msg_recv++; |
276 | fprintf (stderr, "\n"); | ||
276 | end (); | 277 | end (); |
277 | } | 278 | } |
278 | } | 279 | } |
@@ -337,6 +338,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
337 | } | 338 | } |
338 | else | 339 | else |
339 | { | 340 | { |
341 | fprintf (stderr, "\n"); | ||
340 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 342 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
341 | "All messages scheduled to be sent!!\n"); | 343 | "All messages scheduled to be sent!!\n"); |
342 | if (GNUNET_SCHEDULER_NO_TASK != die_task) | 344 | if (GNUNET_SCHEDULER_NO_TASK != die_task) |