fixed bug when SUMMARY is not directly followed by colon
This commit is contained in:
parent
4ff2e705e2
commit
af46177bcd
@ -9,7 +9,7 @@ void parse_event(char event_string[], struct event **head) {
|
|||||||
char *start_date = strstr(event_string, "\r\nDTSTART;");
|
char *start_date = strstr(event_string, "\r\nDTSTART;");
|
||||||
char *end_date = strstr(event_string, "\r\nDTEND;");
|
char *end_date = strstr(event_string, "\r\nDTEND;");
|
||||||
char *sequence = strstr(event_string, "\r\nSEQUENCE:");
|
char *sequence = strstr(event_string, "\r\nSEQUENCE:");
|
||||||
char *summary = strstr(event_string, "\r\nSUMMARY:");
|
char *summary = strstr(event_string, "\r\nSUMMARY");
|
||||||
char *location = strstr(event_string, "\r\nLOCATION:");
|
char *location = strstr(event_string, "\r\nLOCATION:");
|
||||||
char *transp = strstr(event_string, "\r\nTRANSP:");
|
char *transp = strstr(event_string, "\r\nTRANSP:");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user