diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-03-31 00:11:05 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-03-31 00:11:05 +0100 |
commit | ae630ed595330f102685bbbb96c01a8c24b8923a (patch) | |
tree | ee1162df4a3c2a181b9d48e5281c7f33e18eaeb5 /src/vcal.c | |
parent | Cal name now set to basename of path. (diff) | |
download | calp-ae630ed595330f102685bbbb96c01a8c24b8923a.tar.gz calp-ae630ed595330f102685bbbb96c01a8c24b8923a.tar.xz |
Add cval field to LLIST.
Diffstat (limited to 'src/vcal.c')
-rw-r--r-- | src/vcal.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |