aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-02-02 12:06:23 +0000
committerChristian Grothoff <christian@grothoff.org>2010-02-02 12:06:23 +0000
commit53d0e2a26886c03a7d92cb400da9ddf5cb841d65 (patch)
tree18c8ce2f9cb27a44665e826427518392753d7648 /src/core/test_core_api.c
parent9b7ad6f345208cae41ec4ebf957528fc43406a84 (diff)
downloadgnunet-53d0e2a26886c03a7d92cb400da9ddf5cb841d65.tar.gz
gnunet-53d0e2a26886c03a7d92cb400da9ddf5cb841d65.zip
fixes
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r--src/core/test_core_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c
index bb3a0d586..c931fccc2 100644
--- a/src/core/test_core_api.c
+++ b/src/core/test_core_api.c
@@ -34,7 +34,7 @@
34#include "gnunet_scheduler_lib.h" 34#include "gnunet_scheduler_lib.h"
35#include "gnunet_transport_service.h" 35#include "gnunet_transport_service.h"
36 36
37#define VERBOSE GNUNET_NO 37#define VERBOSE GNUNET_YES
38 38
39#define START_ARM GNUNET_YES 39#define START_ARM GNUNET_YES
40 40
@@ -42,7 +42,7 @@
42/** 42/**
43 * How long until we give up on transmitting the message? 43 * How long until we give up on transmitting the message?
44 */ 44 */
45#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) 45#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 6)
46 46
47#define MTYPE 12345 47#define MTYPE 12345
48 48
@@ -192,7 +192,7 @@ transmit_ready (void *cls, size_t size, void *buf)
192 m->size = htons (sizeof (struct GNUNET_MessageHeader)); 192 m->size = htons (sizeof (struct GNUNET_MessageHeader));
193 err_task = 193 err_task =
194 GNUNET_SCHEDULER_add_delayed (sched, 194 GNUNET_SCHEDULER_add_delayed (sched,
195 GNUNET_TIME_UNIT_MINUTES, &terminate_task_error, NULL); 195 TIMEOUT, &terminate_task_error, NULL);
196 196
197 return sizeof (struct GNUNET_MessageHeader); 197 return sizeof (struct GNUNET_MessageHeader);
198} 198}