aboutsummaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index cd64e192..71272998 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -160,7 +160,7 @@ int handle_kv (
/* key \in { VCALENDAR, VEVENT, VALARM, VTODO, VTIMEZONE, ... } */
NEW(vcomponent, e,
- ctx->str.mem,
+ val->mem,
ctx->filename);
SCM_PUSH_X(ctx->key_stack, scm_string_to_symbol(scm_from_utf8_stringn(ctx->str.mem, ctx->str.len)));