commit dad57038f070f1ec10f8ea51240adfaa44d5b458 parent 8a2cf86b930408cecb00ddce0180d9707e11a802 Author: Bart Polot <bart@net.in.tum.de> Date: Fri, 14 Mar 2014 15:49:18 +0000 - dont ping after timeout Diffstat:
| M | src/mesh/gnunet-mesh-profiler.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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) struct MeshPeer *peer = (struct MeshPeer *) cls; peer->ping_task = GNUNET_SCHEDULER_NO_TASK; - if ((GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason) != 0) + if ((GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason) != 0 + || GNUNET_YES == test_finished) return; GNUNET_log (GNUNET_ERROR_TYPE_INFO, "%u -> %u\n",