]> Pileus Git - lackey/blobdiff - src/cal.c
Add error command and update debug messages
[lackey] / src / cal.c
index 838bf8723895656cf194725133a04c7d5912eacc..da835da7225f9280e9463031be8fb6b76983fc08 100644 (file)
--- a/src/cal.c
+++ b/src/cal.c
@@ -31,11 +31,11 @@ void cal_init(void)
 
        /* Debug */
        for (event_t *e = EVENTS; e; e = e->next)
-               debug("event: %04d-%02d-%02d %02d:%02d: %s - %s\n",
+               debug("event: %04d-%02d-%02d %02d:%02d: %s - %s",
                                e->start.year, e->start.month, e->start.day,
                                e->start.hour, e->start.min, e->name, e->desc);
        for (todo_t *e = TODOS; e; e = e->next)
-               debug("todo: %04d-%02d-%02d %02d:%02d: %s - %s\n",
+               debug("todo: %04d-%02d-%02d %02d:%02d: %s - %s",
                                e->start.year, e->start.month, e->start.day,
                                e->start.hour, e->start.min, e->name, e->desc);
 }