]> Pileus Git - lackey/blobdiff - src/cal.c
Output cal field for ical events and todos
[lackey] / src / cal.c
index 8d039a607fceda288f58837826b044ad944a01f9..62b21ac8dd0d2c9426cfe9d2a4bb31c2e288ea82 100644 (file)
--- a/src/cal.c
+++ b/src/cal.c
@@ -169,6 +169,13 @@ void cal_load(year_t year, month_t month, day_t day, int days)
                dummy_todos(start, end),
                 ical_todos(start, end));
 
+       /* Verify events and todos*/
+       //for (event_t *cur = EVENTS; cur; cur = cur->next)
+       //      if (!cur->cal)
+       //              error("Missing cal in event '%s'", cur->name);
+       //for (todo_t *cur = TODOS; cur; cur = cur->next)
+       //      if (!cur->cal)
+       //              error("Missing cal in todo '%s'", cur->name);
 }
 
 /* Config parser */