diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-25 16:38:23 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-25 16:38:23 +0100 |
commit | 0874f56f9678d0df64d25cc6b45aaa35dd196f33 (patch) | |
tree | 35f71e66756c97a32d0d3f9bbbaef6590c901a6c | |
parent | 4a8ce049471a53512de524260225ee15c63068e0 (diff) |
Reformatted t_cft()
-rw-r--r-- | FICS/utils.c | 19 |
1 files changed, 11 insertions, 8 deletions
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; + } } /* |