diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-09-19 12:57:54 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-09-19 12:57:54 +0000 |
commit | f30e6b647b4179d03b82259d58fe3e739d00ebe2 (patch) | |
tree | c46ec48443ef7a5af535ea87a3f1ed3e89c0be2f /src/mesh/test_mesh_local_2.c | |
parent | 197e712f4f85b9cfad67f2dc020e22a6f95ad2e5 (diff) | |
download | gnunet-f30e6b647b4179d03b82259d58fe3e739d00ebe2.tar.gz gnunet-f30e6b647b4179d03b82259d58fe3e739d00ebe2.zip |
Added debug code, fixed minor bug
Diffstat (limited to 'src/mesh/test_mesh_local_2.c')
-rw-r--r-- | src/mesh/test_mesh_local_2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesh/test_mesh_local_2.c b/src/mesh/test_mesh_local_2.c index d841d63d9..1e42a5e9b 100644 --- a/src/mesh/test_mesh_local_2.c +++ b/src/mesh/test_mesh_local_2.c | |||
@@ -268,8 +268,10 @@ test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
268 | &peer_disconnected, (void *) &two); | 268 | &peer_disconnected, (void *) &two); |
269 | GNUNET_MESH_peer_request_connect_by_type (t, 1); | 269 | GNUNET_MESH_peer_request_connect_by_type (t, 1); |
270 | test_task = | 270 | test_task = |
271 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, | 271 | GNUNET_SCHEDULER_add_delayed ( |
272 | &do_connect_peer_1, cfg); | 272 | GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5), |
273 | &do_connect_peer_1, | ||
274 | cfg); | ||
273 | } | 275 | } |
274 | 276 | ||
275 | 277 | ||