From 0874f56f9678d0df64d25cc6b45aaa35dd196f33 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 25 Dec 2023 16:38:23 +0100 Subject: Reformatted t_cft() --- FICS/utils.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index cf6f9b3..c8fb073 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -904,15 +904,18 @@ PRIVATE void t_sft(char *want, struct t_tree *t) } } -/* delete file tree t_tree */ -PRIVATE void t_cft(struct t_tree **t) +/* + * Delete file tree + */ +PRIVATE void +t_cft(struct t_tree **t) { - if (*t) { - t_cft(&(*t)->left); - t_cft(&(*t)->right); - rfree(*t); - *t = NULL; - } + if (*t) { + t_cft(&(*t)->left); + t_cft(&(*t)->right); + rfree(*t); + *t = NULL; + } } /* -- cgit v1.2.3