From d76a8b89e6ff8ab39f65e75ab4ff0c6f21a63a5f Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 6 Feb 2014 17:52:35 +0000 Subject: [PATCH] - remove _break --- src/mesh/gnunet-service-mesh_connection.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index 654abb529..59b4f4a4b 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c @@ -1021,10 +1021,11 @@ schedule_next_keepalive (struct MeshConnection *c, int fwd) keepalive_task = &connection_bck_keepalive; } - /* Check that no one scheduled it before us (and alert in that case) */ + /* Check that no one scheduled it before us */ if (GNUNET_SCHEDULER_NO_TASK != *task_id) { - GNUNET_break (0); + /* No need for a _break. It can happen for instance when sending a SYNACK + * for a duplicate SYN: the first SYNACK scheduled the task. */ GNUNET_SCHEDULER_cancel (*task_id); } -- 2.25.1