diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-03-14 15:49:18 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-03-14 15:49:18 +0000 |
commit | dad57038f070f1ec10f8ea51240adfaa44d5b458 (patch) | |
tree | c5c4d9055fdd707482efca3ae15bc2dc30abf847 /src | |
parent | 8a2cf86b930408cecb00ddce0180d9707e11a802 (diff) | |
download | gnunet-dad57038f070f1ec10f8ea51240adfaa44d5b458.tar.gz gnunet-dad57038f070f1ec10f8ea51240adfaa44d5b458.zip |
- dont ping after timeout
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-mesh-profiler.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/gnunet-mesh-profiler.c b/src/mesh/gnunet-mesh-profiler.c index e4e1cebef..b26816f63 100644 --- a/src/mesh/gnunet-mesh-profiler.c +++ b/src/mesh/gnunet-mesh-profiler.c | |||
@@ -376,7 +376,8 @@ ping (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
376 | struct MeshPeer *peer = (struct MeshPeer *) cls; | 376 | struct MeshPeer *peer = (struct MeshPeer *) cls; |
377 | 377 | ||
378 | peer->ping_task = GNUNET_SCHEDULER_NO_TASK; | 378 | peer->ping_task = GNUNET_SCHEDULER_NO_TASK; |
379 | if ((GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason) != 0) | 379 | if ((GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason) != 0 |
380 | || GNUNET_YES == test_finished) | ||
380 | return; | 381 | return; |
381 | 382 | ||
382 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "%u -> %u\n", | 383 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "%u -> %u\n", |