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/util/test_service.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/util/test_service.c')
-rw-r--r-- | src/util/test_service.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/test_service.c b/src/util/test_service.c index f615b0cf9..f615e7eb4 100644 --- a/src/util/test_service.c +++ b/src/util/test_service.c | |||
@@ -87,6 +87,7 @@ ready (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
87 | GNUNET_CLIENT_notify_transmit_ready (client, | 87 | GNUNET_CLIENT_notify_transmit_ready (client, |
88 | sizeof (struct GNUNET_MessageHeader), | 88 | sizeof (struct GNUNET_MessageHeader), |
89 | GNUNET_TIME_UNIT_SECONDS, | 89 | GNUNET_TIME_UNIT_SECONDS, |
90 | GNUNET_NO, | ||
90 | &build_msg, client); | 91 | &build_msg, client); |
91 | } | 92 | } |
92 | 93 | ||
@@ -170,6 +171,7 @@ ready6 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
170 | GNUNET_CLIENT_notify_transmit_ready (client, | 171 | GNUNET_CLIENT_notify_transmit_ready (client, |
171 | sizeof (struct GNUNET_MessageHeader), | 172 | sizeof (struct GNUNET_MessageHeader), |
172 | GNUNET_TIME_UNIT_SECONDS, | 173 | GNUNET_TIME_UNIT_SECONDS, |
174 | GNUNET_NO, | ||
173 | &build_msg, client); | 175 | &build_msg, client); |
174 | } | 176 | } |
175 | 177 | ||