From ae630ed595330f102685bbbb96c01a8c24b8923a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 31 Mar 2019 00:11:05 +0100 Subject: Add cval field to LLIST. --- src/vcal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vcal.c') 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; -- cgit v1.2.3