diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-03-22 23:27:58 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-03-22 23:27:58 +0100 |
commit | 57d748bda9616a81d48c6c30181d1f903c1bf60a (patch) | |
tree | 7bbca27b3f174f781a053e226bb03b4aa15a38ec /src | |
parent | Add tests to C main. (diff) | |
download | calp-57d748bda9616a81d48c6c30181d1f903c1bf60a.tar.gz calp-57d748bda9616a81d48c6c30181d1f903c1bf60a.tar.xz |
Add comment on NAME attr.
Diffstat (limited to 'src')
-rw-r--r-- | src/calendar.c | 4 |
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"); |