diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-02-02 12:06:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-02-02 12:06:23 +0000 |
commit | 53d0e2a26886c03a7d92cb400da9ddf5cb841d65 (patch) | |
tree | 18c8ce2f9cb27a44665e826427518392753d7648 /src/core/test_core_api.c | |
parent | 9b7ad6f345208cae41ec4ebf957528fc43406a84 (diff) | |
download | gnunet-53d0e2a26886c03a7d92cb400da9ddf5cb841d65.tar.gz gnunet-53d0e2a26886c03a7d92cb400da9ddf5cb841d65.zip |
fixes
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r-- | src/core/test_core_api.c | 6 |
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 | } |