diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-08-30 16:04:38 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-08-30 16:04:38 +0000 |
commit | 89a59c7b9c2319ddadc53d75f6b6188234d123fd (patch) | |
tree | b8ac7e5cf065e8634d5e9eaac91ff641f802be04 /src/mesh/test_mesh_small.c | |
parent | e3c6e0bb694eac5c40941bc959cd8beecfe8cde9 (diff) | |
download | gnunet-89a59c7b9c2319ddadc53d75f6b6188234d123fd.tar.gz gnunet-89a59c7b9c2319ddadc53d75f6b6188234d123fd.zip |
indent
Diffstat (limited to 'src/mesh/test_mesh_small.c')
-rw-r--r-- | src/mesh/test_mesh_small.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index 6234d0359..cea1bef56 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c | |||
@@ -368,8 +368,9 @@ disconnect_mesh_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
368 | GNUNET_assert (churn_task == GNUNET_SCHEDULER_NO_TASK); | 368 | GNUNET_assert (churn_task == GNUNET_SCHEDULER_NO_TASK); |
369 | churn_task = GNUNET_SCHEDULER_add_now (&churn_peers, NULL); | 369 | churn_task = GNUNET_SCHEDULER_add_now (&churn_peers, NULL); |
370 | } | 370 | } |
371 | else /* No more rounds, let's shut it down! */ | 371 | else |
372 | { | 372 | { /* No more rounds, let's shut it down! */ |
373 | |||
373 | stats_context = GNUNET_malloc (sizeof (struct StatsContext)); | 374 | stats_context = GNUNET_malloc (sizeof (struct StatsContext)); |
374 | GNUNET_SCHEDULER_cancel (shutdown_handle); | 375 | GNUNET_SCHEDULER_cancel (shutdown_handle); |
375 | shutdown_handle = GNUNET_SCHEDULER_NO_TASK; | 376 | shutdown_handle = GNUNET_SCHEDULER_NO_TASK; |
@@ -406,8 +407,8 @@ churn_callback (void *cls, const char *emsg) | |||
406 | { | 407 | { |
407 | char *temp_output_file; | 408 | char *temp_output_file; |
408 | 409 | ||
409 | if (emsg == NULL) /* Everything is okay! */ | 410 | if (emsg == NULL) |
410 | { | 411 | { /* Everything is okay! */ |
411 | peers_running = peers_next_round; | 412 | peers_running = peers_next_round; |
412 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 413 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
413 | "Round %llu, churn finished successfully.\n", current_round); | 414 | "Round %llu, churn finished successfully.\n", current_round); |
@@ -493,7 +494,6 @@ peergroup_ready (void *cls, const char *emsg) | |||
493 | GNUNET_TESTING_daemons_stop (pg, TIMEOUT, &shutdown_callback, NULL); | 494 | GNUNET_TESTING_daemons_stop (pg, TIMEOUT, &shutdown_callback, NULL); |
494 | return; | 495 | return; |
495 | } | 496 | } |
496 | |||
497 | #if VERBOSE | 497 | #if VERBOSE |
498 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer Group started successfully!\n"); | 498 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer Group started successfully!\n"); |
499 | #endif | 499 | #endif |