From 57d748bda9616a81d48c6c30181d1f903c1bf60a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 22 Mar 2019 23:27:58 +0100 Subject: Add comment on NAME attr. --- src/calendar.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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"); -- cgit v1.2.3