diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-06 18:24:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-06 18:24:05 +0000 |
commit | e6b55e45670cb905a1fff70fbdbc48809a41315e (patch) | |
tree | d4e617a43badc81cca4e45d88770e136ee538a75 /src/statistics/statistics_api.c | |
parent | 4dbc295056fa19607cace8d0ea47857b03e01b28 (diff) | |
download | gnunet-e6b55e45670cb905a1fff70fbdbc48809a41315e.tar.gz gnunet-e6b55e45670cb905a1fff70fbdbc48809a41315e.zip |
-cleaner
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r-- | src/statistics/statistics_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index 6ce10421a..85eb569eb 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c | |||
@@ -412,7 +412,6 @@ reconnect_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
412 | } | 412 | } |
413 | 413 | ||
414 | 414 | ||
415 | |||
416 | /** | 415 | /** |
417 | * Task used by 'reconnect_later' to shutdown the handle | 416 | * Task used by 'reconnect_later' to shutdown the handle |
418 | * | 417 | * |
@@ -428,6 +427,7 @@ do_destroy (void *cls, | |||
428 | GNUNET_STATISTICS_destroy (h, GNUNET_NO); | 427 | GNUNET_STATISTICS_destroy (h, GNUNET_NO); |
429 | } | 428 | } |
430 | 429 | ||
430 | |||
431 | /** | 431 | /** |
432 | * Reconnect at a later time, respecting back-off. | 432 | * Reconnect at a later time, respecting back-off. |
433 | * | 433 | * |
@@ -911,7 +911,7 @@ GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *h, int sync_first) | |||
911 | } | 911 | } |
912 | if (sync_first) | 912 | if (sync_first) |
913 | { | 913 | { |
914 | if (h->current != NULL) | 914 | if (NULL != h->current) |
915 | { | 915 | { |
916 | if (h->current->type == ACTION_GET) | 916 | if (h->current->type == ACTION_GET) |
917 | { | 917 | { |
@@ -947,9 +947,9 @@ GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *h, int sync_first) | |||
947 | GNUNET_CLIENT_notify_transmit_ready (h->client, h->current->msize, | 947 | GNUNET_CLIENT_notify_transmit_ready (h->client, h->current->msize, |
948 | timeout, GNUNET_YES, | 948 | timeout, GNUNET_YES, |
949 | &transmit_action, h); | 949 | &transmit_action, h); |
950 | GNUNET_assert (NULL != h->th); | 950 | GNUNET_assert (NULL != h->th); |
951 | } | 951 | } |
952 | if (h->th != NULL) | 952 | if (NULL != h->th) |
953 | return; /* do not finish destruction just yet */ | 953 | return; /* do not finish destruction just yet */ |
954 | } | 954 | } |
955 | while (NULL != (pos = h->action_head)) | 955 | while (NULL != (pos = h->action_head)) |