aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_unreliability.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-11-05 13:58:41 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-11-05 13:58:41 +0000
commit99f235f53998fcefa56cf9690241d3c709d69364 (patch)
tree162bba4b02ba5610bbbfa5c51091f2169a1efa12 /src/transport/test_transport_api_unreliability.c
parentdd283bc44bc41e2cca75e43f25e70e53211e05a3 (diff)
downloadgnunet-99f235f53998fcefa56cf9690241d3c709d69364.tar.gz
gnunet-99f235f53998fcefa56cf9690241d3c709d69364.zip
- hunting
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-rw-r--r--src/transport/test_transport_api_unreliability.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c
index 51c264c59..e3ca4be1c 100644
--- a/src/transport/test_transport_api_unreliability.c
+++ b/src/transport/test_transport_api_unreliability.c
@@ -324,7 +324,7 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
324 if (GNUNET_SYSERR == set_bit (ntohl (hdr->num))) 324 if (GNUNET_SYSERR == set_bit (ntohl (hdr->num)))
325 { 325 {
326 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 326 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
327 _("Message id %u is bigger than maxmimum number of messages sent\n"), 327 _("Message id %u is bigger than maxmimum number of messages %u expected\n"),
328 ntohl (hdr->num), TOTAL_MSGS); 328 ntohl (hdr->num), TOTAL_MSGS);
329 } 329 }
330 test_sending = GNUNET_YES; 330 test_sending = GNUNET_YES;
@@ -381,6 +381,7 @@ notify_ready (void *cls, size_t size, void *buf)
381 ret += sizeof (struct TestMessage); 381 ret += sizeof (struct TestMessage);
382 memset (&cbuf[ret], n, s - sizeof (struct TestMessage)); 382 memset (&cbuf[ret], n, s - sizeof (struct TestMessage));
383 ret += s - sizeof (struct TestMessage); 383 ret += s - sizeof (struct TestMessage);
384
384#if VERBOSE 385#if VERBOSE
385 if (n % 5000 == 0) 386 if (n % 5000 == 0)
386 { 387 {