aboutsummaryrefslogtreecommitdiff
path: root/src/vcal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcal.c')
-rw-r--r--src/vcal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcal.c b/src/vcal.c
index 2a610187..297ed52e 100644
--- a/src/vcal.c
+++ b/src/vcal.c
@@ -164,8 +164,8 @@ char* vcomponent_get_val (vcomponent* comp, const char* key) {
content_line* cl = GET(TRIE(content_line))(&comp->clines, key_cpy);
free (key_cpy);
- if (cl != NULL && cl->cur->value != NULL) {
- return cl->cur->value->key.mem;
+ if (cl != NULL && cl->cval != NULL) {
+ return cl->cval->key.mem;
}
return NULL;