From 7e36e9143de3b276930f74347e0f50b1e5f52666 Mon Sep 17 00:00:00 2001 From: bjt-user Date: Sat, 5 Oct 2024 15:56:08 +0200 Subject: [PATCH] annotated print_upcoming function --- src/list_handling.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/list_handling.c b/src/list_handling.c index fe60124..de8a884 100644 --- a/src/list_handling.c +++ b/src/list_handling.c @@ -46,6 +46,8 @@ void free_list(struct event *head) } } +// print_upcoming() also prints ongoing events +// because you usually also want to see those void print_upcoming(struct event *head, char current_date[], int show_all_events) { int i = 0; while (head != NULL) {