From 59921d3b90ed8bf823605517f6692c26a1c9dc44 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 25 Jun 2010 21:09:43 +0000 Subject: [PATCH] fixing common off-by-one error with respect to maximum message size --- src/transport/test_transport_api_reliability.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index 4f00fa0d9..27b86b388 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c @@ -32,6 +32,7 @@ #include "gnunet_os_lib.h" #include "gnunet_program_lib.h" #include "gnunet_scheduler_lib.h" +#include "gnunet_server_lib.h" #include "gnunet_transport_service.h" #include "transport.h" @@ -46,7 +47,7 @@ * 'MAX_PENDING' in 'gnunet-service-transport.c', otherwise * messages may be dropped even for a reliable transport. */ -#define TOTAL_MSGS (60000 * 20) +#define TOTAL_MSGS (60000 * 2) /** * How long until we give up on transmitting the message? -- 2.25.1