aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-24 21:45:44 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-24 21:45:44 +0000
commit47d7779091557516cda70ab9038dc2d460b0b3bb (patch)
tree2c8a334a40268d8b3717332a9d7278909830fab7 /src/util/test_client.c
parent267b8b5e0e264627f334a18ae1bf3f3a88ff2e32 (diff)
downloadgnunet-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_client.c')
-rw-r--r--src/util/test_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/test_client.c b/src/util/test_client.c
index cda8025ac..04efd951b 100644
--- a/src/util/test_client.c
+++ b/src/util/test_client.c
@@ -163,8 +163,9 @@ task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
163 GNUNET_assert (NULL != 163 GNUNET_assert (NULL !=
164 GNUNET_CLIENT_notify_transmit_ready (client, 164 GNUNET_CLIENT_notify_transmit_ready (client,
165 sizeof (struct 165 sizeof (struct
166 GNUNET_MessageHeader), 166 GNUNET_MessageHeader),
167 GNUNET_TIME_UNIT_SECONDS, 167 GNUNET_TIME_UNIT_SECONDS,
168 GNUNET_NO,
168 &make_msg, NULL)); 169 &make_msg, NULL));
169 GNUNET_CLIENT_receive (client, &recv_bounce, cls, 170 GNUNET_CLIENT_receive (client, &recv_bounce, cls,
170 GNUNET_TIME_relative_multiply 171 GNUNET_TIME_relative_multiply