diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-27 20:39:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-27 20:39:18 +0000 |
commit | 969cb768a0afbd921ec9ee05ce2d545f9f740fda (patch) | |
tree | cbdd2fccf359611ccf54924422675c2fc6f502e5 /src/dht/test_dht_twopeer_put_get.c | |
parent | d72315e402e0b5870cc89f0af8984abcfffda37a (diff) | |
download | gnunet-969cb768a0afbd921ec9ee05ce2d545f9f740fda.tar.gz gnunet-969cb768a0afbd921ec9ee05ce2d545f9f740fda.zip |
fixes
Diffstat (limited to 'src/dht/test_dht_twopeer_put_get.c')
-rw-r--r-- | src/dht/test_dht_twopeer_put_get.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dht/test_dht_twopeer_put_get.c b/src/dht/test_dht_twopeer_put_get.c index cf5291346..ccb421cae 100644 --- a/src/dht/test_dht_twopeer_put_get.c +++ b/src/dht/test_dht_twopeer_put_get.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include "gnunet_signatures.h" | 44 | #include "gnunet_signatures.h" |
45 | 45 | ||
46 | /* DEFINES */ | 46 | /* DEFINES */ |
47 | #define VERBOSE GNUNET_YES | 47 | #define VERBOSE GNUNET_NO |
48 | 48 | ||
49 | /* Timeout for entire testcase */ | 49 | /* Timeout for entire testcase */ |
50 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) | 50 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) |
@@ -254,10 +254,10 @@ put_finished (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
254 | 254 | ||
255 | memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ | 255 | memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ |
256 | global_get_handle = | 256 | global_get_handle = |
257 | GNUNET_DHT_get_start (peer2dht, GNUNET_TIME_relative_get_forever (), | 257 | GNUNET_DHT_get_start (peer2dht, GNUNET_TIME_UNIT_FOREVER_REL, |
258 | GNUNET_BLOCK_TYPE_TEST, | 258 | GNUNET_BLOCK_TYPE_TEST, |
259 | &key, 1, GNUNET_DHT_RO_NONE, | 259 | &key, 1, GNUNET_DHT_RO_NONE, |
260 | NULL, 0, &get_result_iterator, NULL); | 260 | NULL, 0, &get_result_iterator, NULL); |
261 | } | 261 | } |
262 | 262 | ||
263 | 263 | ||