X-Git-Url: http://pileus.org/git/?p=lackey;a=blobdiff_plain;f=src%2Fcal.c;h=62b21ac8dd0d2c9426cfe9d2a4bb31c2e288ea82;hp=8d039a607fceda288f58837826b044ad944a01f9;hb=efecad11ff685dfef0f43d28b76f7d9a33d4780b;hpb=4fc97c527e3f565ef40d814c16ef5a9058712bc0 diff --git a/src/cal.c b/src/cal.c index 8d039a6..62b21ac 100644 --- 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 */