aboutsummaryrefslogtreecommitdiff
path: root/src/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calendar.c')
-rw-r--r--src/calendar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/calendar.c b/src/calendar.c
index edc1151e..be681abe 100644
--- a/src/calendar.c
+++ b/src/calendar.c
@@ -61,6 +61,10 @@ int handle_dir(vcomponent* cal, char* path) {
buf[path_len - 1] = '/';
+ /*
+ * NAME is the `fancy' name of the calendar.
+ * TODO cut path to its last component.
+ */
vcomponent_push_val(cal, "NAME", path);
vcomponent_push_val(cal, "TYPE", "vdir");