aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 890c37c3..02900e69 100644
--- a/parse.c
+++ b/parse.c
@@ -76,7 +76,7 @@ int parse_file(char* fname, FILE* f, vcalendar* cal) {
switch (handle_kv(cal, ev, &cline, line, &ctx)) {
case s_event:
ev = malloc(sizeof(*ev));
- CONSTRUCT(vevent, ev, fname);
+ INIT(vevent, ev, fname);
break;
}
strbuf_soft_reset(&str);