From: Bart Polot Date: Thu, 6 Feb 2014 17:52:35 +0000 (+0000) Subject: - remove _break X-Git-Tag: initial-import-from-subversion-38251~4762 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d76a8b89e6ff8ab39f65e75ab4ff0c6f21a63a5f;p=oweals%2Fgnunet.git - remove _break --- 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); }