Mercurial > irccd
changeset 1077:fbf02f5ef8e3
irccd: remove some puts
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 14 Jul 2021 21:13:03 +0200 |
parents | 99dccafade22 |
children | d0adbcc0768e |
files | irccd/jsapi-timer.c |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/irccd/jsapi-timer.c Wed Jul 14 21:07:41 2021 +0200 +++ b/irccd/jsapi-timer.c Wed Jul 14 21:13:03 2021 +0200 @@ -89,14 +89,10 @@ static void timer_destroy(struct timer *tm) { - if (tm->status == TIMER_MUST_STOP) { - puts("timer stopped"); + if (tm->status == TIMER_MUST_STOP) timer_clear(tm); - } - if (tm->status == TIMER_MUST_KILL) { - puts("timer fully freed"); + if (tm->status == TIMER_MUST_KILL) free(tm); - } } static void