aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_manipulation_cfg.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-05-16 07:21:59 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-05-16 07:21:59 +0000
commitc602efc30bd552284e13e5d6810688cb195872d8 (patch)
treee787f6afde878fa5348581d69e1b544efc94e2de /src/transport/test_transport_api_manipulation_cfg.c
parent1466ead1e0ddda5bff906820fc0351e57b899ad3 (diff)
downloadgnunet-c602efc30bd552284e13e5d6810688cb195872d8.tar.gz
gnunet-c602efc30bd552284e13e5d6810688cb195872d8.zip
test failing on pi
Diffstat (limited to 'src/transport/test_transport_api_manipulation_cfg.c')
-rw-r--r--src/transport/test_transport_api_manipulation_cfg.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/transport/test_transport_api_manipulation_cfg.c b/src/transport/test_transport_api_manipulation_cfg.c
index 87ee3f5f6..b9063ef5e 100644
--- a/src/transport/test_transport_api_manipulation_cfg.c
+++ b/src/transport/test_transport_api_manipulation_cfg.c
@@ -257,6 +257,15 @@ notify_ready (void *cls, size_t size, void *buf)
257 hdr->type = htons (TEST_MESSAGE_TYPE); 257 hdr->type = htons (TEST_MESSAGE_TYPE);
258 } 258 }
259 259
260 if (0 == messages_recv)
261 {
262 start_normal = GNUNET_TIME_absolute_get();
263 }
264 if (1 == messages_recv)
265 {
266 start_delayed = GNUNET_TIME_absolute_get();
267 }
268
260 char *ps = GNUNET_strdup (GNUNET_i2s (&p2->id)); 269 char *ps = GNUNET_strdup (GNUNET_i2s (&p2->id));
261 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 270 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
262 "Peer %u (`%4s') sending message with type %u and size %u bytes to peer %u (`%4s')\n", 271 "Peer %u (`%4s') sending message with type %u and size %u bytes to peer %u (`%4s')\n",
@@ -283,14 +292,6 @@ sendtask (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
283 GNUNET_free (receiver_s); 292 GNUNET_free (receiver_s);
284 293
285 294
286 if (0 == messages_recv)
287 {
288 start_normal = GNUNET_TIME_absolute_get();
289 }
290 if (1 == messages_recv)
291 {
292 start_delayed = GNUNET_TIME_absolute_get();
293 }
294 295
295 s_sending = GNUNET_YES; 296 s_sending = GNUNET_YES;
296 th = GNUNET_TRANSPORT_notify_transmit_ready (p2->th, &p1->id, TEST_MESSAGE_SIZE, 0, 297 th = GNUNET_TRANSPORT_notify_transmit_ready (p2->th, &p1->id, TEST_MESSAGE_SIZE, 0,