diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/arm/test_exponential_backoff.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/arm/test_exponential_backoff.c')
-rw-r--r-- | src/arm/test_exponential_backoff.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c index 08c4fd8ee..0561c3ea8 100644 --- a/src/arm/test_exponential_backoff.c +++ b/src/arm/test_exponential_backoff.c | |||
@@ -122,12 +122,12 @@ service_shutdown_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
122 | { | 122 | { |
123 | struct ShutdownContext *shutdown_ctx = cls; | 123 | struct ShutdownContext *shutdown_ctx = cls; |
124 | 124 | ||
125 | if (NULL == msg) | 125 | if (NULL == msg) |
126 | { | 126 | { |
127 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Service shutdown complete.\n"); | 127 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Service shutdown complete.\n"); |
128 | if (shutdown_ctx->cont != NULL) | 128 | if (shutdown_ctx->cont != NULL) |
129 | shutdown_ctx->cont (shutdown_ctx->cont_cls, GNUNET_NO); | 129 | shutdown_ctx->cont (shutdown_ctx->cont_cls, GNUNET_NO); |
130 | 130 | ||
131 | GNUNET_SCHEDULER_cancel (shutdown_ctx->cancel_task); | 131 | GNUNET_SCHEDULER_cancel (shutdown_ctx->cancel_task); |
132 | GNUNET_CLIENT_disconnect (shutdown_ctx->sock); | 132 | GNUNET_CLIENT_disconnect (shutdown_ctx->sock); |
133 | GNUNET_free (shutdown_ctx); | 133 | GNUNET_free (shutdown_ctx); |
@@ -253,7 +253,7 @@ kill_task (void *cbData, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
253 | if (NULL != cbData) | 253 | if (NULL != cbData) |
254 | { | 254 | { |
255 | waitedFor = GNUNET_TIME_absolute_get_duration (startedWaitingAt); | 255 | waitedFor = GNUNET_TIME_absolute_get_duration (startedWaitingAt); |
256 | LOG ("Waited for: %s\n", | 256 | LOG ("Waited for: %s\n", |
257 | GNUNET_STRINGS_relative_time_to_string (waitedFor, GNUNET_YES)); | 257 | GNUNET_STRINGS_relative_time_to_string (waitedFor, GNUNET_YES)); |
258 | } | 258 | } |
259 | else | 259 | else |
@@ -347,7 +347,7 @@ arm_start_cb (void *cls, enum GNUNET_ARM_RequestStatus status, const char *servi | |||
347 | GNUNET_break (status == GNUNET_ARM_REQUEST_SENT_OK); | 347 | GNUNET_break (status == GNUNET_ARM_REQUEST_SENT_OK); |
348 | GNUNET_break (result == GNUNET_ARM_RESULT_STARTING); | 348 | GNUNET_break (result == GNUNET_ARM_RESULT_STARTING); |
349 | GNUNET_break (phase == 0); | 349 | GNUNET_break (phase == 0); |
350 | LOG ("Sent 'START' request for arm to ARM %s\n", | 350 | LOG ("Sent 'START' request for arm to ARM %s\n", |
351 | (status == GNUNET_ARM_REQUEST_SENT_OK) ? "successfully" : "unsuccessfully"); | 351 | (status == GNUNET_ARM_REQUEST_SENT_OK) ? "successfully" : "unsuccessfully"); |
352 | } | 352 | } |
353 | 353 | ||
@@ -431,7 +431,7 @@ init () | |||
431 | return GNUNET_SYSERR; | 431 | return GNUNET_SYSERR; |
432 | GNUNET_assert (0 < GNUNET_asprintf (&binary, "%s/%s", pwd, BINARY)); | 432 | GNUNET_assert (0 < GNUNET_asprintf (&binary, "%s/%s", pwd, BINARY)); |
433 | GNUNET_CONFIGURATION_set_value_string (cfg, SERVICE, "BINARY", binary); | 433 | GNUNET_CONFIGURATION_set_value_string (cfg, SERVICE, "BINARY", binary); |
434 | GNUNET_free (binary); | 434 | GNUNET_free (binary); |
435 | if (GNUNET_OK != GNUNET_CONFIGURATION_write (cfg, CFGFILENAME)) | 435 | if (GNUNET_OK != GNUNET_CONFIGURATION_write (cfg, CFGFILENAME)) |
436 | { | 436 | { |
437 | GNUNET_CONFIGURATION_destroy (cfg); | 437 | GNUNET_CONFIGURATION_destroy (cfg); |