commented function, closed file
This commit is contained in:
@ -72,6 +72,10 @@ void unfolding_string(char *folded_string, char *unfolded_string) {
|
||||
}
|
||||
}
|
||||
|
||||
/* this function takes the head of an empty initialized event list
|
||||
* and the path to the ics file
|
||||
* it will "fill" the list
|
||||
*/
|
||||
void parse_ics_file(char *file_path, struct event **head) {
|
||||
char my_event[8192] = "";
|
||||
char unfolded_event[8192] = "";
|
||||
@ -93,4 +97,6 @@ void parse_ics_file(char *file_path, struct event **head) {
|
||||
}
|
||||
memset(my_event, '\0', sizeof(my_event));
|
||||
}
|
||||
|
||||
close(myfd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user