renamed function parameter
This commit is contained in:
parent
578bf0b0f5
commit
c20f1ca1f0
@ -46,10 +46,10 @@ void free_list(struct event *head)
|
||||
}
|
||||
}
|
||||
|
||||
void print_upcoming(struct event *head, char current_start_date[], int show_all_events) {
|
||||
void print_upcoming(struct event *head, char current_date[], int show_all_events) {
|
||||
int i = 0;
|
||||
while (head != NULL) {
|
||||
if (strcmp(head->start_date, current_start_date) >= 0) {
|
||||
if (strcmp(head->start_date, current_date) >= 0) {
|
||||
pretty_print_date_time(head->start_date);
|
||||
print_end_date(head->end_date, head->start_date);
|
||||
printf("\nSUMMARY: %s\n", head->summary);
|
||||
|
Loading…
Reference in New Issue
Block a user