agendafs
A filesystem for your calendar.
git clone git://mccd.space/agendafscommit 5531003e684ec82fa1a2e5b0bedadfe8de15c750
parent b83543ddc6f4b388146089c7a697969e00a22d8b
Author: Marc Coquand <marc@coquand.email>
Date: Wed, 23 Jul 2025 11:24:57 +0200
Remove some logs
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/main.c b/main.c
@@ -200,13 +200,11 @@ journal_read(const char *path, char *buf, size_t size, off_t offset,
ret_code = -ENOENT;
goto cleanup_return;
}
- LOG("entry = %p", n);
icalcomponent *ic = get_icalcomponent_from_node(mreg, n);
const char *description = icalcomponent_get_description(ic);
if (!description) {
description = "";
}
- LOG("description = %p", description);
// We now treat description as the full content
const char *content = description;
@@ -223,11 +221,9 @@ journal_read(const char *path, char *buf, size_t size, off_t offset,
}
if (size > 0) {
- LOG("Memcopying");
memcpy(buf, content + offset, size);
}
- LOG("Done");
ret_code = size;
cleanup_return: