projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4447819
)
give dht service a chance to receive core connect message
author
Nathan S. Evans
<evans@in.tum.de>
Wed, 30 Jun 2010 16:00:46 +0000
(16:00 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Wed, 30 Jun 2010 16:00:46 +0000
(16:00 +0000)
src/dht/test_dht_twopeer.c
patch
|
blob
|
history
diff --git
a/src/dht/test_dht_twopeer.c
b/src/dht/test_dht_twopeer.c
index c1472210e083bdc652cc949b80f23ebe137694bd..fb00e559c1c934c639e2ffe7edf7fbdda688502a 100644
(file)
--- a/
src/dht/test_dht_twopeer.c
+++ b/
src/dht/test_dht_twopeer.c
@@
-230,8
+230,8
@@
topology_callback (void *cls,
curr_get_ctx.dht_handle = peer1dht;
curr_get_ctx.peer = &peer2id;
curr_get_ctx.dht_handle = peer1dht;
curr_get_ctx.peer = &peer2id;
- GNUNET_SCHEDULER_add_now (sched, &do_get, &curr_get_ctx);
-
//
GNUNET_SCHEDULER_add_delayed (sched, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 2), &do_get, &curr_get_ctx);
+
//
GNUNET_SCHEDULER_add_now (sched, &do_get, &curr_get_ctx);
+ GNUNET_SCHEDULER_add_delayed (sched, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 2), &do_get, &curr_get_ctx);
}
else if (total_connections + failed_connections == expected_connections)
{
}
else if (total_connections + failed_connections == expected_connections)
{