From 4030b4370b005db6d62c628608029ff4a077a356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Sun, 2 Dec 2018 15:56:18 +0000 Subject: [PATCH] Code cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- mud.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mud.c b/mud.c index 256bd84..5929657 100644 --- a/mud.c +++ b/mud.c @@ -1486,13 +1486,10 @@ mud_send_wait(struct mud *mud) if (path->state <= MUD_DOWN || !path->ok) continue; - if (!path->send.stat_time) // TODO - continue; - uint64_t elapsed = MUD_TIME_MASK(now - path->send.stat_time); if (elapsed >= MUD_SEND_TIMEOUT / 2) - continue; // TODO + continue; uint64_t new_dt = (MUD_SEND_TIMEOUT / 2) - elapsed;