summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-14 17:04:48 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-14 17:04:48 +0000
commita2dbac31f9731bb72a6d13522545e5e75fdd8d4a (patch)
treeb59de8f66c731283fd2ef365a52f37a0cd479409 /src
parent85bd7af43f0236fbccbc61ceeea139b03ee7cbff (diff)
fix emsg
Diffstat (limited to 'src')
-rw-r--r--src/transport/test_transport_api_unreliability.c4
1 files changed, 2 insertions, 2 deletions
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)