From a2dbac31f9731bb72a6d13522545e5e75fdd8d4a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 14 Nov 2011 17:04:48 +0000 Subject: fix emsg --- src/transport/test_transport_api_unreliability.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index a305e969f..2336b2bf9 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c @@ -191,7 +191,7 @@ end_badly () if (test_sending == GNUNET_NO) GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Testcase did not send all messages / timeout\n"); + "Testcase did not send any messages before timeout\n"); else GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Reliability failed: Last message sent %u, Next message scheduled %u, Last message received %u, Message expected %u\n", @@ -332,12 +332,12 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer, #endif n++; set_bit (ntohl (hdr->num)); + test_sending = GNUNET_YES; if (0 == (n % (TOTAL_MSGS / 100))) { fprintf (stderr, "."); if (GNUNET_SCHEDULER_NO_TASK != die_task) GNUNET_SCHEDULER_cancel (die_task); - test_sending = GNUNET_YES; die_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL); } if (n == TOTAL_MSGS) -- cgit v1.2.3