diff options
author | Bertrand Marc <beberking@gmail.com> | 2012-06-06 20:47:50 +0200 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2012-06-06 20:47:50 +0200 |
commit | 15d0a119987bc62675a17dea2c24b652a42c53e3 (patch) | |
tree | d6598fb09c24a8004da21bee1a19f3f1ea37c66c /src/dht/test_dht_twopeer_path_tracking.c | |
parent | c47dd4e3165b7894669d8f7f800bac75ac8ad95c (diff) | |
parent | 740b30688bd745a527f96f9116c19acb3480971a (diff) |
Merge tag 'upstream/0.9.3'
Upstream version 0.9.3
Diffstat (limited to 'src/dht/test_dht_twopeer_path_tracking.c')
-rw-r--r-- | src/dht/test_dht_twopeer_path_tracking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/test_dht_twopeer_path_tracking.c b/src/dht/test_dht_twopeer_path_tracking.c index 6e764a3..6ecf6a3 100644 --- a/src/dht/test_dht_twopeer_path_tracking.c +++ b/src/dht/test_dht_twopeer_path_tracking.c @@ -249,7 +249,7 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp, * Schedule the GET request for some time in the future. */ static void -put_finished (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) +put_finished (void *cls, int success) { GNUNET_HashCode key; /* Key for data lookup */ @@ -259,7 +259,7 @@ put_finished (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) "waiting for get response (data not found)"); memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ global_get_handle = - GNUNET_DHT_get_start (peer2dht, GNUNET_TIME_relative_get_forever (), + GNUNET_DHT_get_start (peer2dht, GNUNET_BLOCK_TYPE_TEST, &key, 1, GNUNET_DHT_RO_RECORD_ROUTE, NULL, 0, &get_result_iterator, NULL); |