diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-24 21:45:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-24 21:45:44 +0000 |
commit | 47d7779091557516cda70ab9038dc2d460b0b3bb (patch) | |
tree | 2c8a334a40268d8b3717332a9d7278909830fab7 /src/statistics/statistics_api.c | |
parent | 267b8b5e0e264627f334a18ae1bf3f3a88ff2e32 (diff) | |
download | gnunet-47d7779091557516cda70ab9038dc2d460b0b3bb.tar.gz gnunet-47d7779091557516cda70ab9038dc2d460b0b3bb.zip |
giving client API option for auto-retry, making more often use of transmit_and_get_response API and removing auto-retry code where enhanced client API can be used for it
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r-- | src/statistics/statistics_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index 21b8ecd8a..cc0a1b11a 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c | |||
@@ -539,7 +539,9 @@ schedule_action (struct GNUNET_STATISTICS_Handle *h) | |||
539 | if (NULL == | 539 | if (NULL == |
540 | GNUNET_CLIENT_notify_transmit_ready (h->client, | 540 | GNUNET_CLIENT_notify_transmit_ready (h->client, |
541 | h->current->msize, | 541 | h->current->msize, |
542 | timeout, &transmit_action, h)) | 542 | timeout, |
543 | GNUNET_YES, | ||
544 | &transmit_action, h)) | ||
543 | { | 545 | { |
544 | #if DEBUG_STATISTICS | 546 | #if DEBUG_STATISTICS |
545 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 547 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |