diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-08-22 13:36:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-08-22 13:36:42 +0000 |
commit | 51a6531fa5c68eed968b314a5124a2fdfb3556d2 (patch) | |
tree | 31f043188b8a7e92d6e6f6c001fadc410499c138 /src/transport/test_transport_api_reliability.c | |
parent | b4e21c6afcb6cd772c66b2c0ae3199f193c972c7 (diff) | |
download | gnunet-51a6531fa5c68eed968b314a5124a2fdfb3556d2.tar.gz gnunet-51a6531fa5c68eed968b314a5124a2fdfb3556d2.zip |
whitespace
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index a18175bf4..03bef3b4e 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c | |||
@@ -119,7 +119,7 @@ end () | |||
119 | GNUNET_TRANSPORT_disconnect (p1.th); | 119 | GNUNET_TRANSPORT_disconnect (p1.th); |
120 | GNUNET_TRANSPORT_disconnect (p2.th); | 120 | GNUNET_TRANSPORT_disconnect (p2.th); |
121 | #if VERBOSE | 121 | #if VERBOSE |
122 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 122 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
123 | "Transports disconnected, returning success!\n"); | 123 | "Transports disconnected, returning success!\n"); |
124 | #endif | 124 | #endif |
125 | delta = GNUNET_TIME_absolute_get_duration (start_time).value; | 125 | delta = GNUNET_TIME_absolute_get_duration (start_time).value; |
@@ -155,7 +155,7 @@ end_badly (void *cls, | |||
155 | } | 155 | } |
156 | 156 | ||
157 | 157 | ||
158 | struct TestMessage | 158 | struct TestMessage |
159 | { | 159 | { |
160 | struct GNUNET_MessageHeader header; | 160 | struct GNUNET_MessageHeader header; |
161 | uint32_t num; | 161 | uint32_t num; |
@@ -241,7 +241,7 @@ notify_receive (void *cls, | |||
241 | die_task = GNUNET_SCHEDULER_add_delayed (sched, | 241 | die_task = GNUNET_SCHEDULER_add_delayed (sched, |
242 | TIMEOUT, | 242 | TIMEOUT, |
243 | &end_badly, | 243 | &end_badly, |
244 | NULL); | 244 | NULL); |
245 | } | 245 | } |
246 | if (n == TOTAL_MSGS) | 246 | if (n == TOTAL_MSGS) |
247 | end (); | 247 | end (); |
@@ -295,7 +295,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
295 | if (n < TOTAL_MSGS) | 295 | if (n < TOTAL_MSGS) |
296 | GNUNET_TRANSPORT_notify_transmit_ready (p1.th, | 296 | GNUNET_TRANSPORT_notify_transmit_ready (p1.th, |
297 | &p2.id, | 297 | &p2.id, |
298 | s, 0, TIMEOUT, | 298 | s, 0, TIMEOUT, |
299 | ¬ify_ready, | 299 | ¬ify_ready, |
300 | NULL); | 300 | NULL); |
301 | if (n % 5000 == 0) | 301 | if (n % 5000 == 0) |
@@ -368,7 +368,7 @@ setup_peer (struct PeerContext *p, const char *cfgname) | |||
368 | { | 368 | { |
369 | p->cfg = GNUNET_CONFIGURATION_create (); | 369 | p->cfg = GNUNET_CONFIGURATION_create (); |
370 | #if START_ARM | 370 | #if START_ARM |
371 | p->arm_pid = GNUNET_OS_start_process (NULL, NULL, | 371 | p->arm_pid = GNUNET_OS_start_process (NULL, NULL, |
372 | "gnunet-service-arm", | 372 | "gnunet-service-arm", |
373 | "gnunet-service-arm", | 373 | "gnunet-service-arm", |
374 | #if VERBOSE_ARM | 374 | #if VERBOSE_ARM |
@@ -438,7 +438,7 @@ setup_peer (struct PeerContext *p, const char *cfgname) | |||
438 | p->th = GNUNET_TRANSPORT_connect (sched, p->cfg, NULL, | 438 | p->th = GNUNET_TRANSPORT_connect (sched, p->cfg, NULL, |
439 | p, | 439 | p, |
440 | ¬ify_receive, | 440 | ¬ify_receive, |
441 | ¬ify_connect, | 441 | ¬ify_connect, |
442 | ¬ify_disconnect); | 442 | ¬ify_disconnect); |
443 | GNUNET_assert (p->th != NULL); | 443 | GNUNET_assert (p->th != NULL); |
444 | } | 444 | } |
@@ -487,7 +487,7 @@ exchange_hello (void *cls, | |||
487 | 487 | ||
488 | #if VERBOSE | 488 | #if VERBOSE |
489 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 489 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
490 | "Received HELLO size %d\n", | 490 | "Received HELLO size %d\n", |
491 | GNUNET_HELLO_size((const struct GNUNET_HELLO_Message *)message)); | 491 | GNUNET_HELLO_size((const struct GNUNET_HELLO_Message *)message)); |
492 | #endif | 492 | #endif |
493 | GNUNET_TRANSPORT_offer_hello (p2.th, message); | 493 | GNUNET_TRANSPORT_offer_hello (p2.th, message); |