From: Bart Polot Date: Tue, 30 Aug 2011 16:04:38 +0000 (+0000) Subject: indent X-Git-Tag: initial-import-from-subversion-38251~17273 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=89a59c7b9c2319ddadc53d75f6b6188234d123fd;p=oweals%2Fgnunet.git indent --- diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c index 6a58d14f0..273d35b2d 100644 --- a/src/mesh/mesh_api_new.c +++ b/src/mesh/mesh_api_new.c @@ -437,8 +437,8 @@ process_incoming_data (struct GNUNET_MESH_Handle *h, if (handler->type == type) { if (GNUNET_OK == handler->callback (h->cls, t, NULL, /* FIXME ctx */ - peer, payload, NULL)) /* FIXME atsi */ - { + peer, payload, NULL)) + { /* FIXME atsi */ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: callback completed successfully\n"); } diff --git a/src/mesh/mesh_protocol.h b/src/mesh/mesh_protocol.h index ad62755e9..12723fdac 100644 --- a/src/mesh/mesh_protocol.h +++ b/src/mesh/mesh_protocol.h @@ -29,7 +29,8 @@ #ifdef __cplusplus extern "C" { -#if 0 /* keep Emacsens' auto-indent happy */ +#if 0 + /* keep Emacsens' auto-indent happy */ } #endif #endif 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) GNUNET_assert (churn_task == GNUNET_SCHEDULER_NO_TASK); churn_task = GNUNET_SCHEDULER_add_now (&churn_peers, NULL); } - else /* No more rounds, let's shut it down! */ - { + else + { /* No more rounds, let's shut it down! */ + stats_context = GNUNET_malloc (sizeof (struct StatsContext)); GNUNET_SCHEDULER_cancel (shutdown_handle); shutdown_handle = GNUNET_SCHEDULER_NO_TASK; @@ -406,8 +407,8 @@ churn_callback (void *cls, const char *emsg) { char *temp_output_file; - if (emsg == NULL) /* Everything is okay! */ - { + if (emsg == NULL) + { /* Everything is okay! */ peers_running = peers_next_round; GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Round %llu, churn finished successfully.\n", current_round); @@ -493,7 +494,6 @@ peergroup_ready (void *cls, const char *emsg) GNUNET_TESTING_daemons_stop (pg, TIMEOUT, &shutdown_callback, NULL); return; } - #if VERBOSE GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer Group started successfully!\n"); #endif