diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-03-28 16:41:58 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-03-28 16:41:58 +0000 |
commit | c31a1ce379ec7ade3225ddda0364cf09a65d1689 (patch) | |
tree | 613db8e2a2a1671e8b6e744e7c6e9fd4c2843ac5 /src/transport/test_transport_ats.c | |
parent | d2d6687abfa7dc47ef7e8208522a835d4b852ef6 (diff) | |
download | gnunet-c31a1ce379ec7ade3225ddda0364cf09a65d1689.tar.gz gnunet-c31a1ce379ec7ade3225ddda0364cf09a65d1689.zip |
msg
Diffstat (limited to 'src/transport/test_transport_ats.c')
-rw-r--r-- | src/transport/test_transport_ats.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/transport/test_transport_ats.c b/src/transport/test_transport_ats.c index ef33e0f8b..1f7c74ec0 100644 --- a/src/transport/test_transport_ats.c +++ b/src/transport/test_transport_ats.c | |||
@@ -47,12 +47,12 @@ | |||
47 | /** | 47 | /** |
48 | * How long until we give up on transmitting the message? | 48 | * How long until we give up on transmitting the message? |
49 | */ | 49 | */ |
50 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) | 50 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 20) |
51 | 51 | ||
52 | /** | 52 | /** |
53 | * How long until we give up on transmitting the message? | 53 | * How long until we give up on transmitting the message? |
54 | */ | 54 | */ |
55 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) | 55 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) |
56 | 56 | ||
57 | #define MTYPE 12345 | 57 | #define MTYPE 12345 |
58 | 58 | ||
@@ -494,6 +494,15 @@ main (int argc, char *argv[]) | |||
494 | "WARNING", | 494 | "WARNING", |
495 | #endif | 495 | #endif |
496 | NULL); | 496 | NULL); |
497 | #ifdef HAVE_LIBGLPK | ||
498 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
499 | "GLPK is installed\n"); | ||
500 | #else | ||
501 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
502 | "GLPK is not installed\n"); | ||
503 | return 0; | ||
504 | |||
505 | #endif | ||
497 | 506 | ||
498 | if (strstr(argv[0], "tcp_nat") != NULL) | 507 | if (strstr(argv[0], "tcp_nat") != NULL) |
499 | { | 508 | { |