diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-04-23 08:46:51 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-04-23 08:46:51 +0000 |
commit | 067436522b13b5f638059fc9c591acc7b510d6da (patch) | |
tree | 29812ecafd480124b8c8c60b20d93736d1eb442e /src/hostlist/test_gnunet_daemon_hostlist_learning.c | |
parent | b1f574b5d101351c2a1c2a6df71df988f9fea330 (diff) | |
download | gnunet-067436522b13b5f638059fc9c591acc7b510d6da.tar.gz gnunet-067436522b13b5f638059fc9c591acc7b510d6da.zip |
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist_learning.c')
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_learning.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_learning.c b/src/hostlist/test_gnunet_daemon_hostlist_learning.c index a416462d1..a2fd126b7 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_learning.c +++ b/src/hostlist/test_gnunet_daemon_hostlist_learning.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "gnunet_resolver_service.h" | 30 | #include "gnunet_resolver_service.h" |
31 | #include "gnunet_statistics_service.h" | 31 | #include "gnunet_statistics_service.h" |
32 | 32 | ||
33 | #define VERBOSE GNUNET_NO | 33 | #define VERBOSE GNUNET_YES |
34 | 34 | ||
35 | #define START_ARM GNUNET_YES | 35 | #define START_ARM GNUNET_YES |
36 | #define MAX_URL_LEN 1000 | 36 | #define MAX_URL_LEN 1000 |
@@ -38,7 +38,7 @@ | |||
38 | /** | 38 | /** |
39 | * How long until wait until testcases fails | 39 | * How long until wait until testcases fails |
40 | */ | 40 | */ |
41 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 20) | 41 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) |
42 | #define CHECK_INTERVALL GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) | 42 | #define CHECK_INTERVALL GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) |
43 | 43 | ||
44 | static int timeout; | 44 | static int timeout; |
@@ -179,7 +179,7 @@ process_downloads (void *cls, | |||
179 | uint64_t value, | 179 | uint64_t value, |
180 | int is_persistent) | 180 | int is_persistent) |
181 | { | 181 | { |
182 | if ( (value == 1) && (learned_hostlist_downloaded == GNUNET_NO) ) | 182 | if ( (value == 2) && (learned_hostlist_downloaded == GNUNET_NO) ) |
183 | { | 183 | { |
184 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 184 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
185 | _("Client has successfully downloaded advertised URI \n")); | 185 | _("Client has successfully downloaded advertised URI \n")); |