From 71ea5bd2d05058008e604ffd42993be9c7250e04 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 29 Nov 2011 20:47:18 +0000 Subject: -fixing indentation --- src/testing/testing_peergroup.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'src/testing/testing_peergroup.c') diff --git a/src/testing/testing_peergroup.c b/src/testing/testing_peergroup.c index aee9b8a50..1d9d3ba88 100644 --- a/src/testing/testing_peergroup.c +++ b/src/testing/testing_peergroup.c @@ -46,7 +46,7 @@ struct PeerGroupStartupContext unsigned int total; unsigned int peers_left; unsigned long long max_concurrent_connections; - + /** * Maximum attemps to connect two daemons. */ @@ -56,7 +56,7 @@ struct PeerGroupStartupContext * How long to spend trying to establish all the connections? */ struct GNUNET_TIME_Relative connect_timeout; - + unsigned long long max_concurrent_ssh; struct GNUNET_TIME_Absolute timeout; GNUNET_TESTING_NotifyConnection connect_cb; @@ -508,7 +508,7 @@ internal_peers_started_callback (void *cls, pg_start_ctx->connect_topology, pg_start_ctx->connect_topology_option, pg_start_ctx->connect_topology_option_modifier, - pg_start_ctx->connect_timeout, + pg_start_ctx->connect_timeout, pg_start_ctx->connect_attempts, NULL, NULL); @@ -755,9 +755,9 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_time (cfg, "testing", "CONNECT_TIMEOUT", - &pg_start_ctx->connect_timeout)) + &pg_start_ctx->connect_timeout)) { - pg_start_ctx->connect_timeout = DEFAULT_CONNECT_TIMEOUT; + pg_start_ctx->connect_timeout = DEFAULT_CONNECT_TIMEOUT; } if (GNUNET_OK != @@ -794,17 +794,15 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, } if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_time (cfg, "testing", - "PEERGROUP_TIMEOUT", - &rtimeout)) + GNUNET_CONFIGURATION_get_value_time (cfg, "testing", "PEERGROUP_TIMEOUT", + &rtimeout)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", "testing", "PEERGROUP_TIMEOUT"); GNUNET_free (pg_start_ctx); return NULL; } - pg_start_ctx->timeout = - GNUNET_TIME_relative_to_absolute (rtimeout); + pg_start_ctx->timeout = GNUNET_TIME_relative_to_absolute (rtimeout); /* Read topology related options from the configuration file */ -- cgit v1.2.3